[geeklog-devel] Re: [Fwd: Problems with setcookie() in 1.3.8-1]

Tony Bibbs tony at tonybibbs.com
Tue Oct 7 22:09:58 EDT 2003


Ok, no clue as to why I can't log out of my site.  Any thoughts are 
appreciated.

--Tony

Tony Bibbs wrote:

> Nevermind, neither seem to work.
> 
> 
> ------------------------------------------------------------------------
> 
> Subject:
> Problems with setcookie() in 1.3.8-1
> From:
> Tony Bibbs <tony at tonybibbs.com>
> Date:
> Tue, 07 Oct 2003 20:58:28 -0500
> To:
> Geeklog <geeklog-devel at lists.geeklog.net>
> 
> 
> This simply does not work for me:
> 
> setcookie ($_CONF['cookie_session'], '', time() - 10000,
>                $_CONF['cookie_path'], $_CONF['cookiedomain'],
>                $_CONF['cookiesecure']);
> setcookie ($_CONF['cookie_name'], '', time() - 10000,            
>         $_CONF['cookie_path'],
>          $_CONF['cookiedomain'],
>         $_CONF['cookiesecure']);
> 
> This does:
> 
> setcookie($_CONF['cookie_session'],'',time()-10000,$_CONF['cookie_path']);
> setcookie($_CONF['cookie_name'],'',time()-10000,$_CONF['cookie_path']);
> 


-- 
+-------------------+--------------------------------------------------+
|Tony Bibbs         |[R]egardless of what you may think of our penal   |
|tony at tonybibbs.com |system, the fact is that every man in jail is one |
|                   |less potential fisherman to clutter up your       |
|                   |favorite pool or pond. --Ed Zern                  | 

+-------------------+--------------------------------------------------+




More information about the geeklog-devel mailing list