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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only