March 29th, 2006, 05:00 PM
Join Date: Mar 2006
Time spent in forums: < 1 sec
Reputation Power: 0
passing variables across multiple pages in asp
I've stored the value of a textbox into a session variable. I need to access this variable from several pages but i can only access it from the next page. Is there any way I can access it from more than one page:
My code from the second(and consequent)pages is as follows:
If Request.Form("txtPostCode")="" Then
Session("postcode")="No Postcode Supplied"
The variable is displayed on only the second page but the "no postcode supplied" text appears on all the others.
Is there a way of passing a variables across multiple pages??
Any help would be appreciated!