[WebDNA] MaxAge for cookies in v8.5?

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113539
interpreted = N
texte = 1134 The docs say this for version 8.5: > MaxAge should be a date just like Expires. .... but this is very confusing because the correct use of Max-Age is to set the "number of seconds" until the cookie expires rather than setting "a date just like Expires". It also makes no sense to use both Max-Age and Expires when setting a cookie because most browsers ignore Expires when Max-Age is set properly. So is this the proper use of "MaxAge" in the setcookie tag if we want the cookie to expire in one day? MaxAge=86400 Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] MaxAge for cookies in v8.5? (Kenneth Grome 2017)
1134 The docs say this for version 8.5: > MaxAge should be a date just like Expires. .... but this is very confusing because the correct use of Max-Age is to set the "number of seconds" until the cookie expires rather than setting "a date just like Expires". It also makes no sense to use both Max-Age and Expires when setting a cookie because most browsers ignore Expires when Max-Age is set properly. So is this the proper use of "MaxAge" in the setcookie tag if we want the cookie to expire in one day? MaxAge=86400 Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Kenneth Grome

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:

eMailer replacement? (1998) If Empty ? (1997) Feedback on new features (2000) [TCPconnect].... (2001) RAM to disk (2002) Mac Programs (1998) formula.db, adding option prices (1997) [ConvertChars] problem (1997) question: webmerchant connection (1997) Bad Cookie (1998) Format of Required fields error message (1997) Cookie still not working (1999) Re:Need help... (1997) WCf2 and nested tags (1997) This list needs a digest: rant, rave... (1997) Date format problems (1997) Payflow Pro on OSX (2003) Playin Tricks (2006) For those of you not on the WebCatalog Beta... (1997) Problem 2 of 2 (was: Shipping Confusion) (2000)