> Problem is that when someone goes so far in the ordering process, and then
> (for whatever reason) leaves the site, and comes back hours, seconds or
> whatever later, and goes again to place an order, the details are different
> (time), and the session stays the same so the order entry is entered
I would put a timelimit on the session, create a session var called
time, or loginTime or something, and compare it to time() with php,
give a leyway of an hour or something. This is a standard securty
measure to prevent people from leaving the pc with a session running
all day, and someone else si
Hi Guys,
I have a problem with a site where I¹m using sessions.
Basically, I have it so that someone enters the site and their session
(shopping cart ref) is created on entry (unless it already exists) and all
variables are stored in the session.
Problem is that when someone goes so far in the o
I'll try to find another way then.
Thanks for the replies
On Wed, 2004-03-10 at 00:00, Richard Davey wrote:
> Hello André,
>
> Tuesday, March 9, 2004, 11:53:15 PM, you wrote:
>
> AVL> but since the cookie stores the session id, I thought I could keep that
> AVL> ID and bring it back.
>
> You
Hello André,
Tuesday, March 9, 2004, 11:53:15 PM, you wrote:
AVL> but since the cookie stores the session id, I thought I could keep that
AVL> ID and bring it back.
You could, but PHP will automatically clear up "expired" sessions as
part of its garbage collection routine, which means its entire
but since the cookie stores the session id, I thought I could keep that
ID and bring it back.
could you show me some code, or point me to some example?
Thanks
On Tue, 2004-03-09 at 23:48, Richard Davey wrote:
> Hello André,
>
> Tuesday, March 9, 2004, 11:41:04 PM, you wrote:
>
> AVL> But my q
Hello André,
Tuesday, March 9, 2004, 11:41:04 PM, you wrote:
AVL> But my question is, since I don't deal with cookies directly (PHP does
AVL> that for me), 'cause I only have to deal with sessions, how can I change
AVL> the cookies produced by PHP?
AVL> atm I only session_start() and use the $_S
But my question is, since I don't deal with cookies directly (PHP does
that for me), 'cause I only have to deal with sessions, how can I change
the cookies produced by PHP?
atm I only session_start() and use the $_SESSION[''], so I don't really
know which cookie to change, or how to do it.
TIA
Hello André,
Tuesday, March 9, 2004, 10:53:35 PM, you wrote:
AVL> I'm using sessions to manage users, by using cookies to store the
AVL> session.
AVL> My question is, how do I make the session last _forever_?
AVL> ATM the session lasts 'till the user closes the browser.
Ok first of all - you can
Hi list :-)
I'm using sessions to manage users, by using cookies to store the
session.
My question is, how do I make the session last _forever_?
ATM the session lasts 'till the user closes the browser.
Thanks
--
I/O, I/O,
It's off to disk I go,
A bit or byte to read or write,
I/O, I/O, I/O.
Hi list :-)
I'm using sessions to manage users, by using cookies to store the
session.
My question is, how do I make the session last _forever_?
ATM the session lasts 'till the user closes the browser.
Thanks
--
I/O, I/O,
It's off to disk I go,
A bit or byte to read or write,
I/O, I/O, I/O.
Hi list :-)
I'm using sessions to manage users, by using cookies to store the
session.
My question is, how do I make the session last _forever_?
ATM the session lasts 'till the user closes the browser.
Thanks
--
I/O, I/O,
It's off to disk I go,
A bit or byte to read or write,
I/O, I/O, I/O.
12 matches
Mail list logo