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:
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:
Re[2]: 2nd WebCatalog2 Feature Request (1996)
Utility to convert paradox .db files to text? (2004)
[WebDNA] scope for vars passed in includes (2015)
Webten + Webcat running smooth (1998)
PCS Frames (1997)
Public beta 4 of WebCatalog 4.0 is now available (2000)
WebMerchant still not working!! (1999)
Searching multiple fields (1997)
Can this be done? (2004)
Multiple servers and Webcat (1998)
Location of Browser Info.txt file (1997)
BBEdit and WebCatalog 2.0? (1997)
date formatting for CC card expiration date check (1998)
.html processing? (1998)
(1998)
Wrapping text (1998)
[shownext] (1998)
Summary search -- speed (1997)
Multiple prices (1997)
HomePage Caution (1997)