Re: cleaning old Apache::Session's

2000-06-02 Thread Niral Trivedi
Tobias, What do you exactly mean by line 'Internally the session will expire after 30 minutes.'??? Is it something internal to Apache::Session or you have it programmed on custom basis or what??? Niral Tobias Hoellrich wrote: At 09:26 AM 6/2/00 +1000, Adam Cassar wrote: I was wondering

RE: cleaning old Apache::Session's

2000-06-02 Thread Jerrad Pierce
. | _| | \|| _.-~-._.-~-._.-~-._@" _|\_|___|___| -Original Message- From: Niral Trivedi [mailto:[EMAIL PROTECTED]] Sent: Friday, June 02, 2000 10:09 To: Tobias Hoellrich Cc: Adam Cassar; [EMAIL PROTECTED] Subject: Re: cleaning old Apache::Session's Tobias, What do you exactly mean by line 'Internally the session will expire aft

Re: cleaning old Apache::Session's

2000-06-02 Thread Tobias Hoellrich
We are not using cookies to send the session id to the server, but instead rewrite URLs to contain the session-id (switch off Cookies and go to http://www.amazon.com for a similar experience). When a user hits us with a request we lookup the session-data in the session-table and jump to a "sorry

Re: cleaning old Apache::Session's

2000-06-01 Thread Richard Dice
I was wondering how people are clearing out old Apache::Session's No timestamp is used on the fields used by Apache::Session, so how do we clear the old sessions? I am not talking about the delete() method to remove a session, as that presumes that a user will always leave your site via

RE: cleaning old Apache::Session's

2000-06-01 Thread Michael Nachbaur
an insert or update, but thats not really elegant...and PL_SQL really sucks (warning...flamebait) -man -Original Message- From: Richard Dice [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 01, 2000 4:31 PM To: Adam Cassar Cc: [EMAIL PROTECTED] Subject: Re: cleaning old Apache::Session's I

Re: cleaning old Apache::Session's

2000-06-01 Thread Tobias Hoellrich
At 09:26 AM 6/2/00 +1000, Adam Cassar wrote: I was wondering how people are clearing out old Apache::Session's No timestamp is used on the fields used by Apache::Session, so how do we clear the old sessions? I am not talking about the delete() method to remove a session, as that presumes that

Re: cleaning old Apache::Session's

2000-06-01 Thread Richard Dice
Theres a problem with that however...it assumes you use mySQL. I use Oracle, and it doesn't provide that functionality; you need to alter the INSERT or UPDATE statements to include passing a SYSDATE into the timestamp field. 'Course, you could create a trigger that adds the SYSDATE after an

Re: cleaning old Apache::Session's

2000-06-01 Thread Michael Schout
On Fri, Jun 02, 2000 at 09:26:45AM +1000, Adam Cassar wrote: I was wondering how people are clearing out old Apache::Session's No timestamp is used on the fields used by Apache::Session, so how do we clear the old sessions? I am not talking about the delete() method to remove a session,