[PHP] *******Re: [PHP] Explanation of cookie behavior

2004-04-16 Thread David A. Stevens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 16 Apr 2004 18:18, John Nichel wrote: > David A. Stevens wrote: > > Please remove my address from any future correspondence about PHP. > > Allrighty then. I warned ya Davey...you're on yer way to /dev/null. If > you're lucky, I won't post y

Re: [PHP] Explanation of cookie behavior

2004-04-16 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 16 Apr 2004 18:18, John Nichel wrote: > David A. Stevens wrote: > > Please remove my address from any future correspondence about PHP. > > Allrighty then. I warned ya Davey...you're on yer way to /dev/null. If > you're lucky, I won't post y

Re: [PHP] Explanation of cookie behavior

2004-04-16 Thread John Nichel
David A. Stevens wrote: Please remove my address from any future correspondence about PHP. Allrighty then. I warned ya Davey...you're on yer way to /dev/null. If you're lucky, I won't post your email to any porn lists or USENET. -- **

RE: [PHP] Explanation of cookie behavior

2004-04-15 Thread Ford, Mike [LSS]
On 15 April 2004 15:43, Ryan Schefke wrote: > I'm running a login script where the user enters > login/password and if it > matches what I have in my db and their account is active, I set a > login cookie (login_ck) and an authentication cookie > (authenticate_ck). If the > login and authenticati

RE: [PHP] Explanation of cookie behavior

2004-04-15 Thread Ryan Schefke
John - It works now! That was it. Thanks! Ryan -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 10:53 AM To: PHP Mailing List Subject: Re: [PHP] Explanation of cookie behavior Ryan Schefke wrote: > setcookie ("login_ck", "

Re: [PHP] Explanation of cookie behavior

2004-04-15 Thread John Nichel
Ryan Schefke wrote: setcookie ("login_ck", "$lo", time()+ "60*60*24*30", "", "", "0"); //set cookie for login, for 30days Expire is supposed to be an integer. Try... setcookie ("login_ck", "$lo", time()+ 2592000, "", "", 0); -- **

[PHP] Explanation of cookie behavior

2004-04-15 Thread Ryan Schefke
Gurus, I'm running a login script where the user enters login/password and if it matches what I have in my db and their account is active, I set a login cookie (login_ck) and an authentication cookie (authenticate_ck). If the login and authentication cookies are set when the user goes back to