Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding sessions
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00928495
Message ID:
00928512
Views:
21
Hi Dmitry,

Probably in real code you have typed Session("Test") not Session["Test"].

* * *
It might happen you test your ASP application on the intranet (locally) and its URL starts with a server name or "localhost" like:
http: //mywebserver/myapp/index.asp
or
http: //localhost/myapp/index.asp
Sometimes it turns the cookies off, that's how the Session variables created by one page are cleared before another page can reach them.

Replace the server name or "localhost" in the URL with corresponding ip address. It may be 127.0.0.1 if both the IIS and the ASP application locate on the local computer. Otherwise it should be internal ip address of the web server, something like 192.168.0.1 -- depends on your LAN settings:
http: //127.0.0.1/myapp/index.asp
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform