Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Session object
Message
 
To
30/05/2003 10:38:40
David Brunelle
Université de Sherbrooke
Sherbrooke, Quebec, Canada
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00794507
Message ID:
00795691
Views:
9
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform