Problems with Session variables

  • Thread starter Thread starter jgants
  • Start date Start date
J

jgants

I am having a problem with a web application losing
session information when changing pages. The program
works perfectly on my local machine, but when it is
uploaded to the web server, it will lose the session
variable values when changing pages in the application.

What might be causing this? I've tried several things but
can't get any of them to work.
 
That sounds very weird indeed. Can you post an example of the code that
sets the variables and where it the variables disappear? "jgants"
 
It's probably a cookies issue. You may have your browser (and/or privacy
service, such as found in ZoneAlarm Pro) set to allow cookies from your own
localhost machine, but not from other servers. Check to make sure that
session cookies are always allowed.
 
Back
Top