Losting session variables

Results 1 to 2 of 2

Thread: Losting session variables

  1. #1
    Henrique Guest

    Default Losting session variables

    I&#039;ve upgraded my server from NT 4.0 to Win2k Server, since then i&#039;m losting my session variables everytime a new page is lodaded.<BR><BR>eg: in a page (test1.asp) i set a session variable name TEST with "WORKS" as it value, right after i write the session("TEST")variable (all in the same page) and then put a link to other page (test2.asp). The test2.asp also gets the value of the TEST session variable and writes it to the browser.<BR><BR>Ok, when i call TEST1.ASP i get the "WORKS" text displayed and the link to TEST2.ASP, everything is okay by now... when i get to TEST2.ASP nothing is printed, the TEST session variable is empty!<BR><BR>It seems that the application is being restarted everytime a page is lodaded, dropping all session and application variables.<BR><BR>Any1 can help me??<BR><BR>Thanks in advance.

  2. #2
    Join Date
    Dec 1969

    Default RE: Losting session variables

    Do you have "Enable Sessions" checked in your IIS properties?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts