Re: Weird Cookie Problem Part 2

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68873
interpreted = N
texte = Still trying to get to the bottom of this... At midnight (server time) the cookie was able to be written again. I may try to change the expiration time from 1 day to 24 hours to see if that works. If it does work I still want to figure this problem out though. My new cookie was set and the browser lists it's expiration date as 12:02 AM tomorrow. It doesn't list it as CST or GMT, but I'm pretty sure it goes by my computer's clock (CST). It was set with the 6 hour offset to account for the difference between GMT and CST. So if I delete the cookie and try to reset it during the 6 hours preceding midnight CST, it won't work. If I'm just adding a day, shouldn't it be relative to when it happened and not matter what time of the night it is? on 4/24/07 10:17 PM, Eddie Z at eddie@thinksite.com wrote: > Well the [setcookie name=nerconsecure... code is affected by the time of the > day for some reason. I'm unable to log in again tonight, which is the same > time of night as when I found the problem a few days ago. I changed the > {05:00:00} to {06:00:00}, which is CST and the time my server is set to. > That didn't do anything. I tested the other setcookie code I originally > posted (below) and it worked fine, so I copied it over the nerconsecure > cookie code and changed the domain and cookie name, but it still doesn't > work. I will test it at midnight again to verify it starts working again, > but right now I'm at a huge loss for an explanation. > > > on 4/23/07 7:34 PM, Stuart Tremain at webdna@idfk.com.au wrote: > >> The Time thing .... >> >> If your cookie is due to expire at 14:00 GMT that means it will >> expire at 11:00 EST USA EST is 5 hours behind GMT (could be wrong, >> just a quick estimate) >> >> So what I am saying is if you are expecting the cookie to expire at >> 24:00 your time you will need to set the cookie to expire at 5 hours >> ahead of that. >> >> Don't worry Donovan, I have a WebDNA lotto selector for that LOL >> >> http://demo.graphitesuite.com/lotto.html >> >> Just remember making up with the girlfriend is usually pretty good :) >> >> >> On 24 Apr 2007, at 1:47 AM, Donovan Brooke wrote: >> >>> Eddie Z wrote: >>> >>>> [setcookie name=ezcookie&value=[usku]&expires=Tuesday, 29-Nov-2011 >>>> 23:23:23 >>>> GMT&path=/&domain=ez1productions.com] >>> >>>> [setcookie name=nerconsecure&value=[userID]&expires=[format >>>> days_to_date %A, >>>> %d-%b-%Y][math]{[date]}+1[/math][/format] [math >>>> time]{[time]}+{05:00:00}[/math] GMT&path=/ >>>> &domain=nercon.thinksite.com] >>> >>> >>> Stuart, time thing? make a random change? Sounds like your like >>> your asking Eddie >>> to pick a lotto number because his house bill is due! >>> Sorry Stuart, don't mean to be so brash this Monday morning but me >>> and my girlfriend >>> had an argument so I'm a little on edge... >>> >>> Anyway! :-) Eddie. I don't see anything blatantly wrong.. however >>> if your problem is occasional, >>> there are some things I would consider... >>> >>> Browsers these days have more expansive pref capabilities for >>> privacy and cookies. >>> Could it be that you were too quick to eliminate the browser as a >>> possibility? Privacy >>> settings have the ability to reject and accept cookies on a variety >>> of levels and conditions. >>> >>> http://en.wikipedia.org/wiki/P3P >>> >>> http://tools.ietf.org/html/rfc2965 >>> Is a good RFC to review for this as well. >>> >>> Second, there *is* a difference in the two set cookie settings >>> above. One uses >>> a limiter in the domain and one doesn't. This is probably nothing >>> but I thought I >>> would mention in the case of over-site. >>> >>> >>> >>> Donovan >>> >>> >>> >>> >>> >>> >>> -- >>> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o >>> DONOVAN D. BROOKE EUCA Design Center >>> <- Web Development (specializing in eCommerce),-> >>> <- Desktop Publishing, Print Consulting, Labels -> >>> <-Glass Products, off-hand Classes/studio rental-> >>> >>> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ >>> Web Sites:> http://www.euca.us & http://www.egg.bz >>> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o >>> >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >> digest@talk.smithmicro.com> >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Weird Cookie Problem Part 2 ( Eddie Z 2007)
  2. Re: Weird Cookie Problem Part 2 ( Donovan Brooke 2007)
  3. Re: Weird Cookie Problem Part 2 ( Eddie Z 2007)
  4. Re: Weird Cookie Problem Part 2 ( Donovan Brooke 2007)
  5. Re: Weird Cookie Problem Part 2 ( Eddie Z 2007)
  6. Re: Weird Cookie Problem Part 2 ( Stuart Tremain 2007)
  7. Re: Weird Cookie Problem Part 2 ( Donovan Brooke 2007)
  8. Re: Weird Cookie Problem Part 2 ( Stuart Tremain 2007)
  9. Weird Cookie Problem Part 2 ( Eddie Z 2007)
Still trying to get to the bottom of this... At midnight (server time) the cookie was able to be written again. I may try to change the expiration time from 1 day to 24 hours to see if that works. If it does work I still want to figure this problem out though. My new cookie was set and the browser lists it's expiration date as 12:02 AM tomorrow. It doesn't list it as CST or GMT, but I'm pretty sure it goes by my computer's clock (CST). It was set with the 6 hour offset to account for the difference between GMT and CST. So if I delete the cookie and try to reset it during the 6 hours preceding midnight CST, it won't work. If I'm just adding a day, shouldn't it be relative to when it happened and not matter what time of the night it is? on 4/24/07 10:17 PM, Eddie Z at eddie@thinksite.com wrote: > Well the [setcookie name=nerconsecure... code is affected by the time of the > day for some reason. I'm unable to log in again tonight, which is the same > time of night as when I found the problem a few days ago. I changed the > {05:00:00} to {06:00:00}, which is CST and the time my server is set to. > That didn't do anything. I tested the other setcookie code I originally > posted (below) and it worked fine, so I copied it over the nerconsecure > cookie code and changed the domain and cookie name, but it still doesn't > work. I will test it at midnight again to verify it starts working again, > but right now I'm at a huge loss for an explanation. > > > on 4/23/07 7:34 PM, Stuart Tremain at webdna@idfk.com.au wrote: > >> The Time thing .... >> >> If your cookie is due to expire at 14:00 GMT that means it will >> expire at 11:00 EST USA EST is 5 hours behind GMT (could be wrong, >> just a quick estimate) >> >> So what I am saying is if you are expecting the cookie to expire at >> 24:00 your time you will need to set the cookie to expire at 5 hours >> ahead of that. >> >> Don't worry Donovan, I have a WebDNA lotto selector for that LOL >> >> http://demo.graphitesuite.com/lotto.html >> >> Just remember making up with the girlfriend is usually pretty good :) >> >> >> On 24 Apr 2007, at 1:47 AM, Donovan Brooke wrote: >> >>> Eddie Z wrote: >>> >>>> [setcookie name=ezcookie&value=[usku]&expires=Tuesday, 29-Nov-2011 >>>> 23:23:23 >>>> GMT&path=/&domain=ez1productions.com] >>> >>>> [setcookie name=nerconsecure&value=[userID]&expires=[format >>>> days_to_date %A, >>>> %d-%b-%Y][math]{[date]}+1[/math][/format] [math >>>> time]{[time]}+{05:00:00}[/math] GMT&path=/ >>>> &domain=nercon.thinksite.com] >>> >>> >>> Stuart, time thing? make a random change? Sounds like your like >>> your asking Eddie >>> to pick a lotto number because his house bill is due! >>> Sorry Stuart, don't mean to be so brash this Monday morning but me >>> and my girlfriend >>> had an argument so I'm a little on edge... >>> >>> Anyway! :-) Eddie. I don't see anything blatantly wrong.. however >>> if your problem is occasional, >>> there are some things I would consider... >>> >>> Browsers these days have more expansive pref capabilities for >>> privacy and cookies. >>> Could it be that you were too quick to eliminate the browser as a >>> possibility? Privacy >>> settings have the ability to reject and accept cookies on a variety >>> of levels and conditions. >>> >>> http://en.wikipedia.org/wiki/P3P >>> >>> http://tools.ietf.org/html/rfc2965 >>> Is a good RFC to review for this as well. >>> >>> Second, there *is* a difference in the two set cookie settings >>> above. One uses >>> a limiter in the domain and one doesn't. This is probably nothing >>> but I thought I >>> would mention in the case of over-site. >>> >>> >>> >>> Donovan >>> >>> >>> >>> >>> >>> >>> -- >>> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o >>> DONOVAN D. BROOKE EUCA Design Center >>> <- Web Development (specializing in eCommerce),-> >>> <- Desktop Publishing, Print Consulting, Labels -> >>> <-Glass Products, off-hand Classes/studio rental-> >>> >>> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ >>> Web Sites:> http://www.euca.us & http://www.egg.bz >>> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o >>> >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >> digest@talk.smithmicro.com> >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Eddie Z

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

restarting service remotely on NT (1997) Append..... doesn't (2000) anyone have an automated template encrypter? (2000) Shopping carts and reloading pages (1997) Upload files script (2003) Math variable size-dumb question (1999) Clean Code: Rules for inserting keyboard returns? (1997) How do I handle extra spaces? (2002) Date Range search (1997) Q: how long for answers to the WebDNA-Talk list? (1997) pop up menu's (1998) Documentation Feedback (1997) Bug Report, maybe (1997) Nested tags count question (1997) reserved characters for field names? (1998) Some Questions (1997) Separate SSL Server (1997) DRC (2004) Possible Bug in 2.0b15.acgi (1997) [SHOWIF] (1997)