Posted by Colin McKinnon on 10/05/06 19:55
cendrizzi wrote:
> Interesting ideas. With your solution tony if I press open link in a
> new window (or tab) will it know to go to a new session? Or do they
> have to explicity choose to go to create a new session?
>
> On Oct 5, 10:33 am, "Tony Marston" <t...@NOSPAM.demon.co.uk> wrote:
>> Readhttp://www.tonymarston.co.uk/php-mysql/client-clones.htmlfor a
>> description of how I solved this very same problem.
I suspect you would have to do it explicitly.
Creating a concurrent session is a lot easier if you set use_trans_sid - and
even then it still misses a lot of stuff. I guess you could write a
javascript which rewrites any references to your own site to include the
session id.
My solution was to stick with a single session and subdivide it - for my
purposes it simplifed the session management - but it still means
reproducing (sub-)session identifiers across every page.
A better way to solve this might be to execute the pages within a large
frame and keep the (sub-)session identifier in a seperate (small) frame as
a hidden variable then read it into the main frame as required.
HTH
C.
[Back to original message]
|