On 20 Jun 2007, at 12:05, Joel Watson wrote:

> Is there a way to access certain attributes of a cookie, such as  
> the creation and expiration dates?

I don't believe so. The syntax of the HTTP response header looks like  
this:
   Set-Cookie: NAME=VALUE; expires=DATE; path=PATH;  
domain=DOMAIN_NAME; secure

The client HTTP request header looks like this:
   Cookie: NAME=VALUE; NAME=VALUE; ...

Even if you have a bit of JavaScript examine self.document.cookie,  
you'll only get a string of name/value pairs -- exactly what is sent  
in the client request HTTP header.

--
Joseph Lamoree

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281727
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to