Re: Closing Session
| From: | Steve Staples | Date: | Thu, 31 Mar 2011 20:58:44 +0000 |
| Subject: | Re: Closing Session | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312178@lists.php.net to get a copy of this message | ||
On Thu, 2011-03-31 at 16:51 -0400, Daniel Brown wrote:
> On Thu, Mar 31, 2011 at 16:40, Ethan Rosenberg <ethros@earthlink.net> wrote:
> >
> > ========
> > Ash -
> >
> > 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...."
> >
> > I hope this helps.
>
> Ah, but running on the same domain, the session will be common.
> Right. Killing a session will kill it in both programs, as you
> already know, but there's no native way to do one for one
> [file|directory]. Your best bet, if at all possible, is to separate
> by subdomains (which you can do on localhost, too, by modifying your
> hosts file to alias like so:
>
> 127.0.0.1 localhost development subdomain.development
>
> Don't worry about it being an FQDN. Prior to checking with the
> router or DNS servers, all modern systems check the hosts file. Then
> just add a reference to each in your Apache configuration file and
> restart Apache. Boom. Done.
>
> --
> </Daniel P. Brown>
> Network Infrastructure Manager
> http://www.php.net/
>
Can you not "NAME" the sessions? and kill/destory the named session?