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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---