I quess you should start another session with another name

session_name("newApp");
session_start();

Vincent

-----Original Message-----
From: Tim Traver [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 9 maart 2004 0:01
To: Jason Davidson
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] new session in new window


Hmmmm....that would mean that anywhere I used sessions I would have to 
specify a window name, right ?

and where do I determine the window name ?

not sure that would work with what I want to do...I just want to start a

new window like I would start it if I opened a fresh IE window. Each of 
those windows would have different session id's...

It sounds like you were talking about doing something similar, cause
what I 
want to do is to automatically log someone in to a different app, while 
keeping the main person logged in to the main window...

Anyone else have any ideas ?

Tim.



At 02:21 PM 3/8/2004, Jason Davidson wrote:
>could create an array to hold the same session?
>This may not at all be what your looking for, but ive used something 
>similar to this when building a wizard class to handle storing states 
>in wizard steps. like
>$_SESSION['mySessions']['WindowOne'] = array($userid, $loginTime, $etc)
>$_SESSION['mySessions']['WindowTwo'] = array($userid, $loginTime, $etc)
>
>
>Tim Traver <[EMAIL PROTECTED]> wrote:
> >
> > Hi all,
> >
> > I am programming an interface using PHP and rely on sessions to keep

> > state.
> >
> > What I want to be able to do is to open a new window from my 
> > application that has a new session, without disturbing the current 
> > session.
> >
> > I know that I can kill the current session and start a new one, but 
> > that's not what I want to do. When I launch a new window, it keeps 
> > the same session as the one that it was launched from. If I kill the

> > session in
> that
> > new window, then it kills the old sessino too...
> >
> > Any suggestions ???
> >
> > Thanks,
> >
> > Tim.
> >
> >
> >
> >
> >
> > SimpleNet's Back !
> > http://www.simplenet.com/
> >
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to