CodeIgniter Forums

Full Version: One browser, multiple open windows and sessions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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.

El Forum

[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.

El Forum

[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.