CodeIgniter Forums
One browser, multiple open windows and sessions - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: One browser, multiple open windows and sessions (/thread-33191.html)



One browser, multiple open windows and sessions - El Forum - 08-18-2010

[eluser]billmce[/eluser]
In my CI application I'm going to have multiple windows open.

When I store info to the session I'd like to append some unique window identifier to the variable names.

Is there a PHP or CI unique identification for each open window?

TIA.


One browser, multiple open windows and sessions - El Forum - 08-18-2010

[eluser]danmontgomery[/eluser]
Browser window? No... All the server gets are http requests, there's no way for it to know whether they are coming from the same window or 16 different ones.


One browser, multiple open windows and sessions - El Forum - 08-18-2010

[eluser]billmce[/eluser]
I never phrased the question properly, lemme try again.

I'm looking for a technique where I can write CI session info and distinguish that info (somehow) to allow for a user, using one browser with multiple windows open on the application, to read/write session info pertaining to the appropriate window.

I'm aware that there is only one session per site per browser. What I'm looking for is a technique to use that one session effectively in the above scenario.