Bj thanks for that post it was very helpful :o) 
now I'm just that little less dumber when it comes to PHP

jac

Happy New Year EVERYONE :o)



> -----Original Message-----
> From: Bj 
> Sent: 01 January 2004 00:34
> To: [EMAIL PROTECTED]
> Subject: [wdvltalk] Re: mac guy lost on win2000
> 
> 
> ----- Original Message -----
> From: "Steve Miller"
> 
> > This is a sample cookie:
> > setcookie("tripped",0,time()+300,"/");
> 
> Google on "php problem cookie ie6" told me this:
> 
> "It's the time value of the cookie that's at issue here.
> Set the expiration time to a higher value.
> 
> "I had two cookies that I was setting - the first was for session-ish
> information (which had an expiration time of at least 3600). 
> It worked fine
> in ie6. The second cookie was engineered to have a very short 
> life since
> it's contents were consumed quickly by the user, so I set the 
> expiration
> time to 30 seconds from now. That cookie worked fine in IE 
> 5.5, Moz, KHTML,
> etc, but didn't work at all in ie6.
> 
> "I was setting the cookie using php, and I was calculating 
> the base time
> using the php time() function. time() was returning to me the 
> server time,
> which i noticed was behind the client machine by a few 
> minutes. ie6 never
> took the cookie, which had an expiration date it percived to be in the
> 'past'. When I increased the expiration date to make up for 
> the difference
> in system times IE accepted the cookie. "
> 
> Server time could be a long way out from client machine, especially if
> they're in different countries.  Maybe you should get JS to 
> put the local
> system time into a hidden field on the login form and use 
> that as a base?
> Sheesh, Microsoft, them and their great ideas
> 
> Oh other articles said IE6 has a bug stops it accepting 
> cookies from domains
> with an underscore _ in the name... what domain are you tesing on?
> 
> 
> Bj
> 


____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to