On Fri, 16 Feb 2001, Jason Brooke wrote:
> > However, there's no necessity to have the cgi version if you already have
> > the modular version. All that is needed is to call the appropriate script
> No there's not - I think that goes without saying though.
> install' - then you can use this awes
Thanks all,
This gives me a good start, I think I will just get cron to do it at a certain time of
day, the only problem is trying to tell which sessions have expired as the database is
not going to know this.
Regards
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
> However, there's no necessity to have the cgi version if you already have
> the modular version. All that is needed is to call the appropriate script
> using a tool such as 'wget'. This can be done manually or from cron as
> appropriate.
>
> Billy
No there's not - I think that goes without sa
> Just as an aside, there's no reason I can think of that you can't run both
> the Apache module and standalone binary on the same system side by side -
> I've been doing this for about 2 years without trouble.
>
> jason
However, there's no necessity to have the cgi version if you already have
th
Well, why not store the item's in the session-var? When the session dies because of
timeout or user-intervention, the items dissapear too.
Or store a timestamp along with the items, and refresh the timestamps as needed. Then
put in a cron-job to delete out-of-date items left in the DB at
regul
10:59 AM
Subject: [PHP] deleting cart items on session expire
> hey all,
>
> I was wondering how one would suggest removing items from a cart system
once the session lifetime has expired. I have it set to the default 0, which
expires the session on browser close, what I want to be able t
> If you're already using the CGI version of PHP, there isn't any
> disadvantage to using either it or perl scripts to do this clean-up. If
> you're running the Apache module version of PHP, you'll need to find a
> tool that can be invoked from the command prompt (such as perl) to do
> this for y
> > hey all,
> >
> > I was wondering how one would suggest removing items from a cart system
> once the session lifetime has expired. I have it set to the default 0,
> which expires the session on browser close, what I want to be able to do is
> "delete * from Cart where session='$PHPSESSID'" when
r
you, or perhaps just put it in the script that's used when creating a new
cart for someone.
jason
- Original Message -
From: "Joseph H Blythe" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2001 3:29 PM
Subject: [
hey all,
I was wondering how one would suggest removing items from a cart system once the
session lifetime has expired. I have it set to the default 0, which expires the
session on browser close, what I want to be able to do is "delete * from Cart where
session='$PHPSESSID'" when the user clos
10 matches
Mail list logo