Re: PHP session - Remember me problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--- In php-objects@xxxxxxxxxxxxxxx, abhishek jain <ejaincom@...> wrote:
>
> Hi friends,
> I need to have a checkbox like 'Remember me' in my site. Currently i have a login page which allows one to login but when someone closes and open the browser again, they have to relogin, i want that if a checkbox is selected, they should be able to save the session.
> 
> I think something has to be done  on the life of session cookie, but not sure.
> Pl. advice
> 
> --
> Regards,
> Abhishek jain
>


you have to set some cookie for it..... then under your log-in fields it should be cookie so that everything you set in the cookie should stay under your fields.

this may help. http://www.php.net/manual/en/function.setcookie.php

:-)




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux