Re: How to stay logged in

From: Andy Hassall (andy_at_andyh.co.uk)
Date: 11/07/03


Date: Fri, 07 Nov 2003 21:39:34 +0000

On Fri, 07 Nov 2003 22:30:25 +0100, "dr. zoidberg" <someone@example.wrong>
wrote:

>I have created simple login sistem. I'm using sessions and they expire
>after I close my browser. How can I stay loged after I have closed my
>browser window? I know I should use cookies, but I'm interested in some
>tips and tricks. TNX

http://www.php.net/manual/en/function.session-set-cookie-params.php

--
Andy Hassall (andy@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk)
Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)


Relevant Pages

  • Re: Clear Login
    ... >:I have an htaccess system set up. ... >:make it that when the user closes the browser window, ... Most web sites that want to perform this level of control don't seem to use ... out a login form on the web page itself, and make use of cookies to keep ...
    (comp.security.misc)
  • Re: Clear Login
    ... >>:I have an htaccess system set up. ... >>:make it that when the user closes the browser window, ... >out a login form on the web page itself, and make use of cookies to keep ... This might be a simple case of the browser caching the page. ...
    (comp.security.misc)
  • Re: How to clear Cookies?
    ... Just do not set Expires attribute on cookie and it will expire when session ... ends (usually when user closes browser window). ... Scripting/HTA/.Net Framework IDE ... I use cookies to check user's access right, ...
    (microsoft.public.scripting.vbscript)
  • Re: [PHP] php sessions
    ... >> browsers have different behaviors. ... >> pass a cookie from a new browser window. ... the same cookies whereas starting a whole new instance may not. ...
    (php.general)
  • Re: How to put the previous page url as a variable
    ... >post the information, use sessions or cookies. ... Space: disk usage analysis tool ...
    (comp.lang.php)