DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Evan K. Stone Guest

    Possible to Simulate Form Posts?

    Is there a way to simulate a Form Post? Right now, I'm redirecting the user,
    but information appears in the QueryString that I don't want visible. How
    can I redirect the user without putting data in the QueryString? Can I
    create a "virtual form" and submit it? If so, which Objects & Methods should
    I use?

    Thanks!

    Evan K. Stone
    Web Developer
    Multimedia Live
    Petaluma, CA
    ------------------------------------------
    http://www.mmlive.com
    mailto:evan@NOSPAMmmlive.com
    (remove 'NOSPAM' to reply via e-mail)




  2. #2
    Dev Ashish Guest

    Re: Possible to Simulate Form Posts?

    Are you using the Get method or the Post method? Post method won't display
    anything in the Querystring by design, but you also can't transfer the
    Request.Form collection to a redirected page. If you are using IIS 5, you
    can check out Server.Execute to work around the Redirect problem.

    -- Dev

    Evan K. Stone wrote in message <38ee4b68$1@news.devx.com>...
    :Is there a way to simulate a Form Post? Right now, I'm redirecting the
    user,
    :but information appears in the QueryString that I don't want visible. How
    :can I redirect the user without putting data in the QueryString? Can I
    :create a "virtual form" and submit it? If so, which Objects & Methods
    should
    :I use?
    :
    :Thanks!
    :
    :Evan K. Stone
    :Web Developer
    :Multimedia Live
    :Petaluma, CA
    :------------------------------------------
    :http://www.mmlive.com
    :mailto:evan@NOSPAMmmlive.com
    remove 'NOSPAM' to reply via e-mail)
    :
    :
    :



  3. #3
    RDJ Guest

    Re: Possible to Simulate Form Posts?



    You can also use hidden form fields if you don't want the user to see his
    ID

    <input type="hidden" name="txtID" value="<%= dblID%>">

    (you can use this from the querystring)

    Robert de Jong


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