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

session variables in page refresh

Status
Not open for further replies.

Rachel80

Programmer
May 25, 2000
63
GB
Hi,
I encountered the inability to use session variables while doing a page refresh.. the values stored in the session are lost!
Hence I gotta past the value whenever i refresh the page:
<a href=&quot;page.asp?var=4&quot;>
What can I do to retain the values?
 
Huh? As far as I know, the only way to pass variables to another page is via the query string (as you did above) or on STDIN via a POST. I'm not sure what you're trying to do, or what you're asking.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
yeah by using a session var, it works initially..
at the 2nd page, i did a page refresh after selecting an option from a drop-down list:

<option value=&quot;filename.asp?var=xx&quot;>value 1</option>

the session value is lost!
Get what i mean?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top