Re: setcookie expires

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55603
interpreted = N
texte = Doh! I forgot to take into account the GMT offset. Also, I gave you all the wrong code! (so you never would have seen the error). The true statement sets an expires of a year. The else sets an expires of 30 minutes into the future. The year one was working but the 30 minute one was not! Its amazing what a good nights sleep does. Thanks, Donovan [if "[logpref]"="1"] [then] [text]theexpires=[!] [/!][format days_to_date %A, %d-%b-%Y][math]{[date]}+360[/math][/format][!] [/!] [math time]{[time]}+{08:00:00}[/math] GMT[/text] [/then] [else] [text]theexpires=[!] [/!][format days_to_date %A, %d-%b-%Y][math]{[date]}[/math][/format][!] [/!] [math time]{[time]}+{08:30:00}[/math] GMT[/text] [/else] [/if] -- =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 Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: setcookie expires ( Donovan Brooke 2004)
  2. Re: setcookie expires ( Donovan Brooke 2004)
  3. Re: setcookie expires ( Tim Robinson 2004)
  4. setcookie expires ( Donovan Brooke 2004)
Doh! I forgot to take into account the GMT offset. Also, I gave you all the wrong code! (so you never would have seen the error). The true statement sets an expires of a year. The else sets an expires of 30 minutes into the future. The year one was working but the 30 minute one was not! Its amazing what a good nights sleep does. Thanks, Donovan [if "[logpref]"="1"] [then] [text]theexpires=[!] [/!][format days_to_date %A, %d-%b-%Y][math]{[date]}+360[/math][/format][!] [/!] [math time]{[time]}+{08:00:00}[/math] GMT[/text] [/then] [else] [text]theexpires=[!] [/!][format days_to_date %A, %d-%b-%Y][math]{[date]}[/math][/format][!] [/!] [math time]{[time]}+{08:30:00}[/math] GMT[/text] [/else] [/if] -- =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 Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =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 Web Archive of this list is at: http://webdna.smithmicro.com/ Donovan Brooke

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:

[Replace] (2000) quitting (1997) multi-part email help (2001) WebCat/Flash/authentication/protection (2000) WebTen? (1997) webcatalog [date] bug (1999) HomePage Caution (1997) Add message to Order (1997) OT: ASP Developer (1999) installing webcatalog problem. HELP! (1998) Missing from Docs [folderName] (1997) Webmerchant confirmation hooks? (1997) Semi OT: vbulletin and # viewing - how do that do that? (2003) Webcatalog error, Plug-in for Webstar (1996) [WebDNA] [OT] the "Work in progress" thread. (2009) Bug? (1997) Nested search (1997) STRANGE (2001) Lookup Notfound (1998) Re:no template caching (1997)