On 31 March 2011 23:16, Ethan Rosenberg <eth...@earthlink.net> wrote:
>
>>> <snip>
>>>        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 -
>
> I'm a newbie...
>
> 1] What should the line in the Apache configuration file be? Just to be
> sure, the file is: /etc/apache2/apache2.conf, correct?

I don't use Apache, so hopefully someone else can answer this.

> 2] Back to the original question....how do I kill a session from the
> terminal?

You can't.

But if you can find the session ID, you could manually delete the
session file - if you are using files for your sessions.

If you are using a DB, then you'd have to write a script to kill it.

Another option would be to create a killsession.php script ...

<?php
session_start();
session_destroy();
session_close();
?>

I think that'll do the job.

-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to