Re: Time code!

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43569
interpreted = N
texte = Hi,On Thursday, September 19, 2002, at 04:40 PM, Bob Minor wrote:> On 9/19/02 9:25 AM, dale@gmr.dresdner.net > wrote: > >> Bob, >> >> Why not have a quick lookup database that has the DST dates entered >> into >> it? Then based on if current date matches or is greater than the change >> date adjust your cookie code that way? >> >> But also a dumb question, so does the cookie expire based on the client >> time? or the server time? If the client time, maybe a javascript to >> grab >> the client time (if that would even work that is) and set it that way? >> >> Dale > Cookie expires based on the server time.I must be missing something then. You can tell I only recently started dealing with cookies :)If the cookie expires based on server time, what difference does it make in the coding of the expire time? I mean I don't change the time on my server as GMT doesn't change. So current time plus 1 hour should always be the same shouldn't it? > Hence my need. I thought about a > database, but was looking for something a little more elegant. The unix > machines have date -u which is the date/time in gmt time. The windows > machine I am not sure of the commands necessary to glean this info. > Worst > case I set up my own little cookie time server.John mentioned in a post just prior to this about using an include which would probably be better/faster then a lookup anyway. But obviously I am still not understanding why the need if the server time doesn't change.> > Robert Minor > Director of Internet ServicesDale ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Time code! (Bob Minor 2002)
  2. Re: Time code! (John Peacock 2002)
  3. Re: Time code! (dale's stuff 2002)
  4. Re: Time code! (Gary Krockover 2002)
  5. Re: Time code! (Bob Minor 2002)
  6. Re: Time code! (John Peacock 2002)
  7. Re: Time code! (dale@gmr.dresdner.net 2002)
  8. Re: Time code! (Bob Minor 2002)
  9. Re: Time code! (John Peacock 2002)
  10. Re: Time code! (dale@gmr.dresdner.net 2002)
  11. Re: Time code! (Bob Minor 2002)
  12. Re: Time code! (John Peacock 2002)
  13. Re: Time code! (Bob Minor 2002)
  14. Re: Time code! (Alain Russell 2002)
  15. Re: Time code! (John Peacock 2002)
  16. Time code! (Bob Minor 2002)
Hi,On Thursday, September 19, 2002, at 04:40 PM, Bob Minor wrote:> On 9/19/02 9:25 AM, dale@gmr.dresdner.net > wrote: > >> Bob, >> >> Why not have a quick lookup database that has the DST dates entered >> into >> it? Then based on if current date matches or is greater than the change >> date adjust your cookie code that way? >> >> But also a dumb question, so does the cookie expire based on the client >> time? or the server time? If the client time, maybe a javascript to >> grab >> the client time (if that would even work that is) and set it that way? >> >> Dale > Cookie expires based on the server time.I must be missing something then. You can tell I only recently started dealing with cookies :)If the cookie expires based on server time, what difference does it make in the coding of the expire time? I mean I don't change the time on my server as GMT doesn't change. So current time plus 1 hour should always be the same shouldn't it? > Hence my need. I thought about a > database, but was looking for something a little more elegant. The unix > machines have date -u which is the date/time in gmt time. The windows > machine I am not sure of the commands necessary to glean this info. > Worst > case I set up my own little cookie time server.John mentioned in a post just prior to this about using an include which would probably be better/faster then a lookup anyway. But obviously I am still not understanding why the need if the server time doesn't change.> > Robert Minor > Director of Internet ServicesDale ------------------------------------------------------------- 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://search.smithmicro.com/ dale@gmr.dresdner.net

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:

webcat NT with [dos] command (1997) Dynamic drop downs (2005) Serving images from databases (1998) [REFERRER] AND Truncation (1998) shownext (1997) WebCat2 beta 11 - new prefs ... (1997) Time since application launch (1999) WebCatalog for guestbook ? (1997) Looking up two prices in Formulas.db (1997) [WebDNA] slideshow (2008) Nested vs conditional (1997) Dubble Sku's in a Database (1999) [OT] Cold Fusion snippet [found]. (2002) Setting up shop (1997) CommandSecurity? (1997) Register First (2000) Multiple Newcarts (1996) NT BETA BUG???? (1997) FileInfo (2004) cart info (1998)