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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what is the best way to pass information between pages?

Status
Not open for further replies.

SCantoria

Programmer
Sep 23, 2005
100
US
I am creating a view page before I write to the database.

The submit button on my CreateTicket.aspx is pointed to ReviewTicket.aspx.

Response.Redirect("ReviewTicket.aspx?Creator=strCreator&PriorityLevel=strPriorityLevel");

the ReviewTicket.aspx writes to the database if the accept button is clicked.

Please advice.

Thanks,
Steve
 
Hi,

Why go to another page anyway? Just take the values from the CreateTicket.aspx and display then on the same page with a confirm button.

Typically I would have the users input in a panel which is then set invisible and shown in a label or such before confirmation.

Cheers

J

 
YOu can use querystrings as you are, but they are not secure unless you encrypt them. There are also Session variables and custom objects.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top