RE: [PHP] Closing Session
| From: | Ford, Mike | Date: | Fri, 01 Apr 2011 09:07:29 +0000 |
| Subject: | RE: [PHP] Closing Session | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312190@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Ethan Rosenberg [mailto:ethros@earthlink.net]
> Sent: 31 March 2011 21:40
> I can be working on more than one program simultaneously and have
> one
> tab open w/ program A and another w/ program B. The site in
> reference is "http://localhost...."
Do these programs share any part of their session information? If not,
then how about using session_name() to differentiate - that way, each
one stores its session_id in its own cookie and will have its own
session.
On the other hand, if they do share parts of the session information
(such as user id, say), the suggestion of using sub-arrays per
application sounds good to me.
Cheers!
Mike
--
Mike Ford,
Electronic Information Developer, Libraries and Learning Innovation,
Leeds Metropolitan University, C507 City Campus,
Woodhouse Lane, LEEDS, LS1 3HE, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 812 4730
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm