RE: maintain separate sessions for each browser tab/window

2005-11-13 Thread Peter Crowther
From: John Cartwright [mailto:[EMAIL PROTECTED] 
Does anyone have a suggestion on how to maintain a separate session for 
each browser tab and window?  Currently the same session is shared for 
each frame, window, tab of a given brower instance and context. 
 
I only wish this were possible - it would make life a lot easier for a number 
of the apps I work on.  Unfortunately, it's not.  Cookie state is maintained 
client-side, as is window state.  On current browsers (and in the spec), all 
windows to the same site share the same cookie state, so using cookies is out.  
If it were possible to detect opening a new window using Javascript in a 
portable way, you might be able to do something there using an extra GET 
parameter to indicate a newly-opened window; but, to my knowledge, it isn't 
possible to do this in a way that is either portable* or works with all 
combinations of back and forward buttons plus new window opens at arbitrary 
points.
 
  - Peter
 
* Non-portable solutions include browser plug-ins for IE and Netscape-derived 
browsers; these *can* spot new windows as they open and *can* cause the DOM in 
those windows to be amended.  May not get you very far with Lynx, though...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: maintain separate sessions for each browser tab/window

2005-11-11 Thread Vinny
I don't think that HTTP allows this unless you come with a really ugly
hack. Single sessions are maintained between the browser and a host.
This applies to frames as well.



On 11/11/05, John Cartwright <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> Does anyone have a suggestion on how to maintain a separate session for
> each browser tab and window?  Currently the same session is shared for
> each frame, window, tab of a given brower instance and context.
>
> I understand that this is the way things are supposed to be, but for my
> application I'd prefer each browser window and tab to have a unique
> session object.
>
> Thanks for any suggestions!
>
> -- john
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]