--- 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 :-)