Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Session variables
Message
From
30/09/2004 08:38:46
 
 
To
30/09/2004 08:25:48
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00947472
Message ID:
00947477
Views:
15
Check on your cookies setting. Make certain your browser allows cookies or your session variables won't work. This one bit me too once.

Internet Explorer allows the use of cookies; however, you can change your privacy settings to specify that Internet Explorer prompt you before placing a cookie on your computer (this enables you to allow or block the cookie); or you can prevent Internet Explorer from accepting any cookies.

You can use the Internet Explorer privacy settings to specify how you want Internet Explorer to handle cookies from individual Web sites or all Web sites. You can also customize your privacy settings by importing a file containing custom privacy settings, or by specifying custom privacy settings for all Web sites or individual Web sites.

Privacy settings only apply to Web sites in the Internet zone.




Regards,
Neil

>I have a simple asp.net app. It has two web pages. On page one i set a session variable - Session("Test") = "1"
>
>On page 2, I set label.text = Session("Test")
>
>This works fine on my local machine where I developed it; however, when I set it up on my companies server, it does not.
>
>In IIS I went to the Home Directory tab. Clicked on Configuration, went to the Options tab, and the box is checked for maintaining sessions.
>
>Can someone tell me what I am missing. There has to be a setting somewhere or something that is not right.
>
>Thanks for the help.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform