WebSession.Cookies.Set Value

The docs say

“Expiration (optional) allows you to specify when the cookie expires. If Expiration is not passed, the cookie expires when the user quits their browser.”

What is the syntax / format of the expiration parameter? sqldate time? Seconds form now?

read here maybe:

https://tools.ietf.org/html/rfc6265

[quote=283624:@Jay Menna]The docs say

“Expiration (optional) allows you to specify when the cookie expires. If Expiration is not passed, the cookie expires when the user quits their browser.”

What is the syntax / format of the expiration parameter? sqldate time? Seconds form now?[/quote]

It is a date. See http://documentation.xojo.com/index.php/date