Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirecting Post Data

Status
Not open for further replies.

davecapone

Programmer
Oct 3, 2000
48
US
Is there a way to redirect data posted from a form to another page without writing out an HTML using meta refresh that contains hidden fields with all the data in it?

Keep in mind the post method is post not get so I can't use the query_string server variable.

Thanks,
David Capone
 
Server.Transfer "url"
this will transfer the entire state to a new page, this is only server side though, so the form will be submitted and you will decide to redirect, instead od using response.redirect and losing your data, use server.transfer. You should also still have access to variables, the transfer actually transfers the entire state.
-Tarwn
 
Using the Post Method you can use Request.Form("whatever") like when you use the Get Method you use Request.Querystring("WhatEver") Rob
Just my $.02.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top