[Catalyst] Browser window/tab independent sessions

Perrin Harkins perrin at elem.com
Mon Jan 8 15:34:41 GMT 2007


Ian Docherty wrote:
> I used URI session variables previously where cookies were not 
> available. It occurs to me that if the are being used to have separate 
> sessions for each tab or window then the security issues could be 
> eliminated by making the session a combination of a cookie (fixed for 
> all windows/tabs) and the URI parameter (different for all windows/tabs).
>
> I still don't know how to ensure each new window/tab gets it's own 
> unique session in the URI however?

There's no need to do that.  Just put the data you want to preserve in 
the URI rather than putting the session ID there.

- Perrin



More information about the Catalyst mailing list