Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPProtect Full 6.x Archives (Info Locked Info Locked)
 CJWSoft Support Info : ASPProtect Full 6.x Archives
Subject Info: session close fails for group page A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
dazedconfused
New User
New User
Avatar

Joined: April/11/2004
Location: United States
Online Status: Offline
Info: 17
Added: December/20/2004 at 5:05pm | IP Logged Quote dazedconfused

I'm using the groups protect feature on my pages. None of them seem to close the session after clicking 'logoff'. I can tell because if I hit the back button and return to the group-protected page, hit 'refresh', the page refreshes, I'm not asked to log in again.

On the other hand, when I open a page that's protected by an access level and click 'logoff' (uses same logoff asp file to logoff), it seems to work fine - if I go back a page and refresh, it asks me to log in.

Just wondering - is anybody else having problems like this? Maybe I screwed something up in the few adjustments I made a while back. Any idea what it might be?

Back to Top View dazedconfused's Profile Search for other info by dazedconfused
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: December/20/2004 at 5:09pm | IP Logged Quote cwilliams

Its not a known issue.. I would try the original code before you made any changes and see if it still happens to you.

It seems to be working fine here for me in amy test web.

I am going to look into some more in the meantime.

Edited by cwilliams on December/20/2004 at 5:12pm


__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: December/20/2004 at 5:17pm | IP Logged Quote cwilliams

also.. the log out page shouldnt really need this
but you can try adding this to it where all the other ones are set to nothing..

<% Session("Groups") = "" %>



Edited by cwilliams on December/20/2004 at 5:18pm


__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 
dazedconfused
New User
New User
Avatar

Joined: April/11/2004
Location: United States
Online Status: Offline
Info: 17
Added: December/20/2004 at 5:36pm | IP Logged Quote dazedconfused

First pass through, I don't see anything changed in the groups section of the check_user asp file. the logoff asp wasn't touched.

I noticed the demo online (on this site) only has pages protected with access levels; you say it works fine with groups also?

Back to Top View dazedconfused's Profile Search for other info by dazedconfused
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: December/20/2004 at 5:41pm | IP Logged Quote cwilliams

far as I can tell it does... that session abandon thing called in the logoff page should be enough to cover everything

once thing to be careful about

If you log in.. then log off... then go back to a page and do a refresh... you  may in fact be reposting the username and password from before.. thus logging yourself right back in

Perhaps not.. all depends on what your doing... but it is something to be careful of when testing 



Edited by cwilliams on December/20/2004 at 5:44pm


__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 

Sorry, you can NOT post info.
This info has been locked by a info administrator.

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com