You would have to calculate the number of minutes (or whatever the time increment of the expires attribute is) from the time the cookie was set to midnight and enter that as a value.
Eric -----Original Message----- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Monday, 17 July 2006 10:16 To: CF-Talk Subject: CFCOOKIE: Using a number of days for EXPIRES, at what time would that cookie expire? I'm creating a cookie that needs to expire at midnight of the day the cookie is set (i.e. the cookie would never be more than 24 hours old). If I were to set the cookie with the following code: <cfcookie name="execed_temp" value="#now()#" expires="1"> Would that do the trick? Thanks Pete ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246840 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

