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

Links to show shopping cart. (1998) help needed: Non-english characters in WebCatalog (1997) WebCatalog 3 NT License FS (2000) Multiple Merchant Accounts? (1997) Re2: Calculating multiple shipping... (1997) WebCat/CyberStudio Compatibility (1998) WebCat2 - Getting to the browser's username/password data (1997) [WebDNA] FastCGI version confusion (2011) Problems with [Applescript] (1997) Calculating multiple shipping... (1997) Satisfy Me ! was: Why can't support be satisfying topurchasers? (2000) Where is f2? (1997) 2.1 Stuff (1998) New One (for me).... Error type 12 (1999) Help! WebCat2 bug (1997) IE 6 weirdness ??? (2002) Maybe off topic but how to charge (1997) Help name our technology! (1997) Problems appending to database (1997) math on date? (1997)