Active Server Pages

Moderators: None (Apply to moderate this forum)
Number of threads: 1763
Number of posts: 4498

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Sessions??? Posted by yessir on 9 Oct 2003 at 4:58 AM
Sessions???
I am trying to set up a site to restrict access to certain topics based on the users access level.

I am wondering what is the best way to store/remember the level of the user without them knowing what it is, being able to change it and be able to pass to through all the pages as each page has different levels of restrictions.

The question is therefore NOT how to restrict the access but RATHER how to store the variable for the session of the user, securely, and then remove any trace of it from their computer(if necessary) at the end.

(secenario: what if they do not have cookies enabled? i am not sure if this matters)

Thanks
~


Report
Re: Sessions??? Posted by Manning on 10 Oct 2003 at 8:54 PM
: Sessions???
: I am trying to set up a site to restrict access to certain topics based on the users access level.
:
: I am wondering what is the best way to store/remember the level of the user without them knowing what it is, being able to change it and be able to pass to through all the pages as each page has different levels of restrictions.
:
: The question is therefore NOT how to restrict the access but RATHER how to store the variable for the session of the user, securely, and then remove any trace of it from their computer(if necessary) at the end.
:
: (secenario: what if they do not have cookies enabled? i am not sure if this matters)

If they don't have cookies enabled, you can't use session variables anyway (since they use a cookie to store the session id). So if you are only storing a single value and not a whole lot of data, a session variable should be alright.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.