Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternative to Session Variable
Message
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01682699
Message ID:
01682707
Vues:
35
>>>Does above seem like a good approach? Or should I replace the Session variable use with another approach?
>>>
>>You should be able to use Session variables.
>>You said that this behavior is intermittent.
>>In some cases, Session data is store in cookies. Does the user's browser set up allow cookies?
>
>I have no control of the user's browser is set up.
>
>I suppose you are saying that if the cookie is not set (not allowed), the Session variable won't work, no?

Just for testing, I disabled all cookies in the Chrome. And the command Response.Rederect("OrderPage.aspx", true) won't work.
So, I am guessing that on my customers' computers the cookie is enabled. But it expires or somehow the value in the session variable gets lost.
"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