> I just read in Ben's CFWACK that it's easy for CF apps > to read cookies set by other apps and specifically it > says .asp set cookies. Furthermore, it gives hints and > tips to reading cookies set by other apps if the path > isn't the same. > > This puzzles me ... I thought cookies set by .aspx weren't > readable by CF. > > Can anyone clarify this for me please? > > Specifically, I have a need to be able to tell if a .aspx > page has set a session cookie or not. I've been working > around reading page headers etc, when if I can just detect > the presence of a cookie set by .aspx and know what the > value is, that'll do the trick in a jiffy. > > (Just for the record, our environment is CF5.0 and .net.asp > on WinNT4)
Any cookies set by your server, no matter what application is used to write the cookies, are readable by any other application on the same server as long as the browser returns those cookies to the server. However, it may be the case that the ASP.NET cookies don't contain plaintext values, in which case you'd have to figure out how to interpret the values from CF. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

