Ask a Question related to PERL Modules, Design and Development.
-
Vito Corleone #1
CGI::Sessions : Deleting expired sessions
Hi,
I use CGI::Sessions to save the sessions into MySQL. The problem is, if
the user just close the browser windows without logging off, I can't
delete the sessions. The sessions will just stay in the DB even when
they are already expired. Is there any way to deal with this? Do I have
to create a script to delete the expired sessions manually from MySQL?
Thanks,
Vito
Vito Corleone Guest
-
IE6 and sessions
is anyone experiencing problems with IE6 and session cookies? any pointers to forums where it's being discussed would be of help. thanks. -
Database sessions and file sessions
Can database sessions and file system sessions co-exist on the same server. I have 2 applications that use sessions. One uses the standard php... -
Relationship between IIS Sessions and ASP.NET Sessions?
Ken, I did some testing after I posted this message. I set my IE settings for cookies to Always Prompt (even session cookies) to see what was... -
sessions help
I m working whit session's and I had this error : Warning: Cannot send session cache limiter - headers already sent (output started at... -
Mohammd M. Hussain #2
Re: CGI::Sessions : Deleting expired sessions
Vito Corleone <corleone@godfather.com> wrote in message news:<20040615162632.29e5353c.corleone@godfather.c om>...
Hi,> Hi,
> I use CGI::Sessions to save the sessions into MySQL. The problem is, if
> the user just close the browser windows without logging off, I can't
> delete the sessions. The sessions will just stay in the DB even when
> they are already expired. Is there any way to deal with this? Do I have
> to create a script to delete the expired sessions manually from MySQL?
>
> Thanks,
> Vito
You can delete expired sessions when you _initialize_ user's session.
If the script never gets executed then that means nobody is viewing
the script so it doesn't matter whether their sessions are expired or
not because once a user executes your script, the initialization
routine will remove all expired sessions.
Mohammd M. Hussain Guest



Reply With Quote

