faqts : Computers : Programming : Languages : PHP : Common Problems : Sessions and State

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

11 of 38 people (29%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

How to create a unique session per browser instance? Multiple browser windows are accessing the same session variables which I don't want.

Aug 8th, 2001 06:31
Luboslav Gabal, Edmun Liu,


You must to change your php configuration file:

session.use_cookies = 0

session.use_trans_sid = 1
but you must have php compiled with --enable-trans-sid

else you can use this:

<a href="nextpage?<?=SID?>">click here</a>