Reply to Different sessions on the same server usgin PEAR

Your name:

Reply:


Posted by kevin bailey on 08/10/07 16:11

Must be missing something obvious here but if I create sessions on a server
I use

$b = new Auth("MDB2");
$b->setSessionname("SESSION1");


This means I can have other sessions created by

$b = new Auth("MDB2");
$b->setSessionname("SESSION2");

and the users can log in to different sessions.

Now when I create and use session variables I use

$_SESSION['var1'] = 'aaa';


The problem is that these session variables are not specific to the session
created for that login. If I set one in one application it is also
affected in another application.

So, how do I make SESSION variables specific for a authorised session.

Thanks,

Kev

[Back to original 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

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