Hello, I have a question about CFCOOKIE. As far as I know the unit of the attribute "EXPIRES" is day. If I want to expire the cookie in ten minutes, how to do this then?
Check out the Createtimespan function. It uses a format of Createtimespan(days, hours, minutes, seconds) and converts it to fractions or multiples of a day (putting in 1440 minutes would evaluate to 1). So for expiring a cookie in ten minutes, you would simply say:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.