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:
00928521
Vues:
26
Anatoliy,

I did type square brackets ([]), so this is not the problem. Cookie is enabled. But I think the problem may have to do with a bug I discovered some time ago in IE. The bug, from what I remember, does create a problem where a cookie is not created by ASP.NET pages, even though it is enabled.

But the main thing is there was nothing wrong in my code. Otherwise, you and others would have corrected me.

So I just have to figure out how to get around the bug.

Thank you for your help.


>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
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform