in reply to Re: perl CGI::Session not deleting the session
in thread perl CGI::Session not deleting the session

Are you sure the browser isn't just showing you a cached version of the page?
>> To confirm this i just created a hyperlink to Page4 on the logout page. On page4 also i had the script to check if a session exists or not.. i'm seeing the same session id on Page4 too.
  • Comment on Re^2: perl CGI::Session not deleting the session

Replies are listed 'Best First'.
Re^3: perl CGI::Session not deleting the session
by Anonymous Monk on Feb 23, 2015 at 15:53 UTC

    You said you see the same session ID, which is not surprising since you're getting it from a cookie - or did you delete the cookie too? I think there is still some confusion here: Did you check if the session got deleted, such as by looking into the data store that holds the sessions, or by checking whether the session is empty or not? Also, are you equating a session existing with being logged in? Why do you need to delete the session, why isn't clearing it enough to effect the logout?