Current time: 08-13-2020, 10:49 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cookie Scoping
07-13-2010, 09:51 PM
Post: #3
RE: Cookie Scoping
With Coldfusion, you can have an Application.cfm file in multiple directories. I usually declare the cfapplication cookie settings in these files. If you have an Application.cfm file in your subdirectory that does not use cookies, then it may be possible that the cookie information is not passed when an image is accessed in the subdirectory. I know a file only reads the innermost Application.cfm file so if you had two files, one in your main directory and one in the image subdirectory, the one in your main directory would not get processed when you read a file in the image subdirectory. I usually use a subdirectory for static resources so cookie information is not passed in that situation.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Cookie Scoping - calumfodder - 07-13-2010, 07:53 PM
RE: Cookie Scoping - pmeenan - 07-13-2010, 09:01 PM
RE: Cookie Scoping - calumfodder - 07-13-2010, 10:43 PM
RE: Cookie Scoping - green-watch.org - 07-13-2010 09:51 PM
RE: Cookie Scoping - pmeenan - 07-13-2010, 10:38 PM
RE: Cookie Scoping - green-watch.org - 07-14-2010, 02:22 AM
RE: Cookie Scoping - pmeenan - 07-14-2010, 03:23 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)