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

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

2008-03-02 Thread Richard
Hello, 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 programming a shopping cart so members can cho

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

[PHP] Multiple sessions

2006-07-12 Thread Philip Thompson
Hi. 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 one user opens a session and then his/her friend wants to open a different session o

[PHP] multiple sessions on same server/domain

2005-01-18 Thread Valter Toffolo
ok i have one server with a single domain, each user have it's home with a public_html so i get mydomain.com/~user1/ and mydomain.com/~user2/ and so on. but each user might like to use sessions so how can i make it work so that sessions would have each one it's own variables and all...?? thanks, v

[PHP] multiple sessions

2003-07-06 Thread David T-G
Hi, all -- I am trying to integrate phpbb into our web site and do so such that we set the login info before getting into the forum. We have a user 'x' who has a numeric user_id 'y' in the phpbb system that we'll need to set. We store that user_id in our system for other uses as well. Our cooki