Author |
Topic  |
|
Rob Poretti
Junior Member
 
Canada
435 Posts |
Posted - 02 March 2001 : 15:55:36
|
I'm developing a heavily moded version of 3.1 sr2. I have found that when running the forum in Visual Interdev, that when I log off, I can type the URL of any of the admin pages and it takes me there without authenticating.
Is there correct? Or is the there something screwy in my forum? DOes it have to do with running in Visual InterDev? My on-line forum does not have this problem. If I type any of the Admin pages it will send me to login to the Admin pag -- as it should.
|
|
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
Posted - 02 March 2001 : 16:08:49
|
yes, when you log in to admin_home, it stores your login info as a session variable, which is why it behaves that way
|
 |
|
Rob Poretti
Junior Member
 
Canada
435 Posts |
Posted - 02 March 2001 : 17:15:25
|
I'm sorry, I'm not sure what I should derive from that statement...
If I am logged oUT, does it still use the same session variable?
If I log out, and then STOP the application in Visual InterDev, does that destroy the session variable? What is the session variable scope?
Sorry to trouble you, here... I guess I missing a basic concept of the session variable.
Cheers!
Rob
|
 |
|
Doug G
Support Moderator
    
USA
6493 Posts |
Posted - 02 March 2001 : 19:26:13
|
A session lasts until the session times-out or you explicitly end it with session.abandon. Logging off the forum code doesn't end your session as far as IIS is concerned. Closing your browser does end your session.
As with any authenticated web site, your credentials are cached in the browser after you successfully log on and don't go away until the browser is closed. I'm not sure if credentials or sessions propagate down to new windows from the parent browser (ctrl-N).
Except for a couple bug versions of IE, sessions do propagate to new windows opened by code.
The net is if you set Session("test") = 1, that value will remain until the IIS session terminates.
There may be something in your InterDev configuration that is making it work differently than your ISP but I don't know what.
====== Doug G ====== |
 |
|
|
Topic  |
|