Re: PHP session - Remember me problem

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

 



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@xxxxxxxxxxx>
To: php-objects@xxxxxxxxxxxxxxx
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@yahoogroup 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]


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

  Powered by Linux