Re: [PHP] Multiple sessions open at same time, is it possible? [ Solved, thankyou !]

2008-03-02 Thread Richard
Stut a écrit : On 2 Mar 2008, at 16:32, Richard wrote: Stut a écrit : Just curious... why are you setting the password to an empty array? You'd probably be better off unset'ing it so you can use isset to check for it. Oh right ! :) Yes you're right about the array, I used it by mistake, as

Re: [PHP] Multiple sessions open at same time, is it possible? [ Solved, thankyou !]

2008-03-02 Thread Stut
On 2 Mar 2008, at 16:32, Richard wrote: Stut a écrit : Just curious... why are you setting the password to an empty array? You'd probably be better off unset'ing it so you can use isset to check for it. Oh right ! :) Yes you're right about the array, I used it by mistake, as to reset a

Re: [PHP] Multiple sessions open at same time, is it possible? [ Solved, thankyou !]

2008-03-02 Thread Richard
Stut a écrit : On 2 Mar 2008, at 15:59, Richard wrote: Stut a écrit : On 2 Mar 2008, at 15:28, Richard wrote: However, is there a way to limit the session stay alive time for just one variable ? If for example, if a user has not done anything in his members area for more than 30 minutes I w

Re: [PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Stut
On 2 Mar 2008, at 15:59, Richard wrote: Stut a écrit : On 2 Mar 2008, at 15:28, Richard wrote: However, is there a way to limit the session stay alive time for just one variable ? If for example, if a user has not done anything in his members area for more than 30 minutes I would like to b

Re: [PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Richard
Stut a écrit : On 2 Mar 2008, at 15:28, Richard wrote: Stut a écrit : On 2 Mar 2008, at 14:49, Richard wrote: I would there for need to have two seperate sessions one for the cart, and one for the members area. And sometimes I will need to have them both open. Is this possible ? I've search

Re: [PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Stut
On 2 Mar 2008, at 15:28, Richard wrote: Stut a écrit : On 2 Mar 2008, at 14:49, Richard wrote: I would there for need to have two seperate sessions one for the cart, and one for the members area. And sometimes I will need to have them both open. Is this possible ? I've searched google but

Re: [PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Richard
Stut a écrit : On 2 Mar 2008, at 14:49, Richard wrote: I'm quite new to sessions, an am trying to program a script which needs two sessions ... I have a members area which uses 1 session, and when you click on disconnect it closes the session and the user returns to the login page. I also a

Re: [PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Stut
On 2 Mar 2008, at 14:49, Richard wrote: I'm quite new to sessions, an am trying to program a script which needs two sessions ... I have a members area which uses 1 session, and when you click on disconnect it closes the session and the user returns to the login page. I also am programmin

Re: [PHP] Multiple sessions

2006-07-12 Thread Stut
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Austin Denyer wrote: > Stut wrote: >> I'm confused as to why you need a solution to this 'problem'. How likely >> is it that you'll have 2 users trying to access your site on the same >> machine at the same time? If it is likely (although I don't see h

Re: [PHP] Multiple sessions

2006-07-12 Thread Austin Denyer
Stut wrote: > > I'm confused as to why you need a solution to this 'problem'. How likely > is it that you'll have 2 users trying to access your site on the same > machine at the same time? If it is likely (although I don't see how) > then you need to design your session data as an array keyed on t

Re: [PHP] Multiple sessions

2006-07-12 Thread Stut
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philip Thompson wrote: > Is there a way to have multiple sessions open in one browser > (specifically, Firefox or Safari)? For example, IE does not transfer > session data from one window to another, however, Firefox does. So, if Not strictly true. It