Re: [PHP] Re: Problem with cookie

2001-07-16 Thread Justin Farnsworth

You may have different behaviour between browsers, but you
are never going to be able to use this method reliably because
of the vagaries of times encountered on the client side.
Just look at the postings to this list, supposedly more
sophisticated computer users, as some postings are dated
1972, last month, 2010 et cetera.

_jef
-

Yasuo Ohgaki wrote:
 
 IE does not accept cookie expires less than 7200 sec.
 Someone mentioned it before. (I don't verified this)
 
 Is this true?
 
 --
 Yasuo Ohgaki
 
 Mihailo Dzigurski [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  Hello,
 
  I need cookie that will expire in 15 mins. My server is in different time
  zone than most of my clients. When I set cookie, the cookie is already
  expired when it reach clients. I use setcookie(Test, 1, time()+600).
 
  This problem only happens with IE, Netscape is working fine?!
 
  Is there any solution for my problem?
 
  Regards,
  Mihailo.
 
 
  _
  Do You Yahoo!?
  Get your free @yahoo.com address at http://mail.yahoo.com
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
Justin Farnsworth
Eye Integrated Communications
321 South Evans - Suite 203
Greenville, NC 27858 | Tel: (252) 353-0722

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Problem with cookie

2001-07-16 Thread Yasuo Ohgaki

Justin Farnsworth [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 You may have different behaviour between browsers, but you
 are never going to be able to use this method reliably because
 of the vagaries of times encountered on the client side.
 Just look at the postings to this list, supposedly more
 sophisticated computer users, as some postings are dated
 1972, last month, 2010 et cetera.

That's true :)
I usually set cookie expireation at least 100 hours or use no expiration(session
cookie) to deal with wrong clock in clients.

I guess original poster can use 'max-age' to set shorter  cookie life time
safely.
(Sorry I don't use max-age, so I didn't mentioned it in previous post)

I'm interested in the claim that IE does not accept cookie which expires in less
than 7200 sec. is true or not. If this is true, for which versions.

Regards,
--
Yasuo Ohgaki


 Yasuo Ohgaki wrote:
 
  IE does not accept cookie expires less than 7200 sec.
  Someone mentioned it before. (I don't verified this)
 
  Is this true?
 
  --
  Yasuo Ohgaki
 
  Mihailo Dzigurski [EMAIL PROTECTED] wrote in message
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
   Hello,
  
   I need cookie that will expire in 15 mins. My server is in different time
   zone than most of my clients. When I set cookie, the cookie is already
   expired when it reach clients. I use setcookie(Test, 1, time()+600).
  
   This problem only happens with IE, Netscape is working fine?!
  
   Is there any solution for my problem?
  
   Regards,
   Mihailo.
  
  
   _
   Do You Yahoo!?
   Get your free @yahoo.com address at http://mail.yahoo.com
  
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]

 --
 Justin Farnsworth
 Eye Integrated Communications
 321 South Evans - Suite 203
 Greenville, NC 27858 | Tel: (252) 353-0722


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]