in reply to Re^2: Issues with creating a new CGI Session everytime at start-up
in thread Issues with creating a new CGI Session everytime at start-up
I found that $session in delete_existing_session() doesn't get the existing session in spite of providing the proper session_id to the sub, which means that $session->delete() doesn't do anything.
... # Load existing session $session = CGI::Session->load( $exist_sess_id ); $session->delete(); ... ...
So, when the control returns back to get_session(), it recognizes the id that was passed in and retrieves the old one..
I am wondering what makes $session = CGI::Session->load( $exist_sess_id ); to fail to retrieve the session.
Any tips would be of great help. Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Issues with creating a new CGI Session everytime at start-up
by Anonymous Monk on Aug 20, 2007 at 19:53 UTC |