Multiple Sessions? How?

I need to try and fake having multiple sessions, one for each time a user opens up a new browser window. Any suggestions on how this might be possible?

There are lots of reasons why this could be useful, basically anytime you expect the user to be using your app with multiple browser windows and don't want any session variables to clobber other session variables...

However, my current need is to set the app to use a different "theme" when they are using Google Earth to view some blog pages. For sure I can see the initial referrer (or set a fancy query string to identify the source) and hence deduce that I need to set my "compact theme", but for each navigation after that I (obviously) can't tell that it's another request in the GEarth browser, or any other browser. If I set a session variable to say "compact theme" on the action that the G Earth link visits then I find that *all* my other browser windows suddenly acquire the compact theme

Any suggestions on how to identify something unique about browsing from a particular browser window that lets me distinguish it from another browser window?

Cheers

Ed W

Ed W wrote:

I need to try and fake having multiple sessions, one for each time a
user opens up a new browser window. Any suggestions on how this might
be possible?

One possible solution (perhaps the only solution) is to disable cookies in your
browser settings. Then use my No-cookie session support plugin (see link
below) to maintain established sessions. It will allow you to use as many new
browser windows (or tabs) as you want, each with its own session.

Any suggestions on how to identify something unique about browsing from
a particular browser window that lets me distinguish it from another
browser window?

How about using a query string value? You can assign one to each connecting
window but that still leaves the problem of shared session.

Long
http://edgesoft.ca/blog/read/2