Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding sessions
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00928495
Message ID:
00928512
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform