You are here: Re: Concurrent session issues. Currently our website can have only one window open. Help me solve this. « PHP Programming Language « IT news, forums, messages
Re: Concurrent session issues. Currently our website can have only one window open. Help me solve this.

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация