Re: Closing Session

From: Date: Thu, 31 Mar 2011 21:52:22 +0000
Subject: Re: Closing Session
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-312181@lists.php.net to get a copy of this message
At 05:37 PM 3/31/2011, Ethan Rosenberg wrote:
At 04:51 PM 3/31/2011, 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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
=========
Dan - Thanks. Two questions: 1] What is the URL for the sub domain? 2] How do kill a session from the command line? Ethan

« previous php.general (#312181) next »