Hi I have attached a very simple code i think it will be helpful for you. If any query please inform me. Thanks and RegardsS.M. Saidur RahmanSenior Consultant Epsilon Consulting & Development Services [ECDS] Work: +8801911731214 Mobile: +8801911731214 rana_0036@xxxxxxxxx http://ranawd.wordpress.com Visit MyBlogLog and get a signature like this! ________________________________ From: abhishek jain <ejaincom@xxxxxxxxx> To: php-objects@xxxxxxxxxxxxxxx Sent: Tue, November 10, 2009 1:35:20 PM Subject: Re: PHP session - Remember me problem Hi, Can you please share a piece of code for this, I am using session_start( ) at the top of page, do i need to add the code you give to only login page or to all page. -- Regards, Abhishek jain ____________ _________ _________ __ From: pradip jadhav <jadhav_pradip@ yahoo.co. in> To: php-objects@ yahoogroups. com Sent: Tue, November 10, 2009 11:01:30 AM Subject: Re: PHP session - Remember me problem Abhishek, Please try it using cookies. Either you can use normal cookies or use persistent cookies. Regards, Pradip Jadhav --- On Mon, 9/11/09, abhishek jain <ejaincom@yahoo. com> wrote: From: abhishek jain <ejaincom@yahoo. com> Subject: PHP session - Remember me problem To: "php mailing list" <php-objects@ yahoogroups. com>, "in-phpug" <in-phpug@yahoogrou p s.com> Date: Monday, 9 November, 2009, 11:22 AM 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 The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo. com/ [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]