DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Eddie Guest

    Post few data to a form using post method and return result


    I want to use ASP code and XML to post few data to a form using post method
    and return the web page, when people call the page.

    like I want to login to mail.yahoo.com, and I design a page, everytime I
    call the page it will automaticly login to mail.yahoo.com and return the
    page to me, by using post method to post.

  2. #2
    Russell Jones Guest

    Re: Post few data to a form using post method and return result

    To set up a form to submit results as an e-mail attachment, follow these
    steps:

    1. create a form.
    2. set the action to mailto: and your email address, e.g.
    (mailto:kooyt@tm.net.my)
    3. set the method to POST

    When the user submits the form, the browser sends the form data as an
    attachment. However, at least in IE (that's all I tested) the user will get
    a warning message before the browser emails the data. The warning happens
    each time the user submits the form. Unless there's a specific reason to
    mail the data directly from the client, you'll be better off to post the
    data back to an ASP page and email it from the server.

    HTH
    Russell Jones
    Sr. Web Development Editor,
    DevX.com



    "Eddie" <kooyt@tm.net.my> wrote in message news:3b25deab$1@news.devx.com...
    >
    > I want to use ASP code and XML to post few data to a form using post

    method
    > and return the web page, when people call the page.
    >
    > like I want to login to mail.yahoo.com, and I design a page, everytime I
    > call the page it will automaticly login to mail.yahoo.com and return the
    > page to me, by using post method to post.




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links