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

Losing session variable

Status
Not open for further replies.

gmagerr

Technical User
Aug 11, 2001
323
US
Hi guys, i created a session variable on one of my pages, but when i call it from another page it is not there. for example on page one i have

(i'll get the request from a form)

Session("Color") = Request.Form("Color")

then on the next page

Color = Session("Color")

Response.Write "Color = " & Color

Any ideas why the session variable is not sticking?
 
Another thing to check is the browser the client is using, and if you have session variables turned off on one of the pages, or on IIS. The last two are the most common, but some browsers (including MS Outlook....which can serve as a browser) doesn't handle session objects very well which will cause problems.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top