Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Session object
Message
 
À
30/05/2003 10:38:40
David Brunelle
Université de Sherbrooke
Sherbrooke, Québec, Canada
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00794507
Message ID:
00795691
Vues:
10
asp sessions use browser-based(temporary) cookies. If you have extremely tight security in your browser, that might explain it...
>I am trying to put a value in a sessin object to use in another page.
>Basically, I have a "login" page that process the username and password and I want to put a variable in the session object name "accessmode" or whatever, which would indicate the type of access the user has (ex, if the type is 1, or guest, only certain button would appear or text would tell them that they can't access something)
>
>For now, I tried using session("Acmode") = dataRs("Mode") (datars is a recordset to a sql table and I know that this particular part work). It seem that it just doesn't store the variable in the session as when I try to use it (for example response.write(session("Acmode")) it doesn't retrieve it at all. This doens't even seem to work in the same page that I assigned the value
>I am using VBscript as my scripting language if that can makes a difference.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform