[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:

Database Security Rev., (2002) Cart Number sequence (1997) DON'T use old cart file! (1997) Display [price] in banner ad (1998) upgrading (1997) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) Fun with Dates - any progress? (1997) Items XX to XX shown (1997) FW: I'll Know If You Don't Read This (2006) [Sum] function? (1997) emailer setup (1997) Shipping.db (1998) Accentuated and non-English letters (2002) This list needs a digest: rant, rave... (1997) Emailer help....! (1997) Need help (1998) WebCat2 Append problem (B14Macacgi) (1997) syntax question, not in online refernce (1997) Problem with updating 2.1b7 -> 2.1.1 (1998) Store Builder, technical infos (1998)