Why are you structuring your app that way though? CFAPPLICATION should be used to define the scope of one application, not the scope of a permission.
I suggest a different approach on structing the permissions part of your web. If you're interested, contact me! And to answer your question....Yes, it seems that CFCookie does not span across CFAPPLICATIONS :) -----Original Message----- From: Brian Eckerman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 3:05 PM To: CF-Talk Subject: Does cfcookie depend on cfapplication Hello, this is my millionth question this week. I am trying to validate a user with a root application (CFAPPLICATION NAME="MAIN"...) then I want to store the permissions I got from the LDAP table and switch contexts depending on which departmental link the user clicked on, (CFAPPLICATION NAME="ASSET RECOVERY"...) I want to be able to access the variables I stored earlier. So far I tried Client Variables- ( Do not span across CFAPPLICATIONs) Copying Session from one CFAPP. to anouther with REQUEST Scope ( no way to get them from one department to anougther) I though CFCOOKIE would be my Holy Grail because (I thought) they would be specific to one user, and span CFAPPLICATIONS. Even better they expire when the Browser closes. (beats head against wall) Unfortunatly when I do the following (pseudocode) ----------------- file1.cfm <CFAPP. NAME="MAIN"> <CFCOOKIE NAME=permissions VALUE="x,y,z"> ----------------- file2.cfm <CFAPP. NAME="ASSET_RECOVERY"> <CFOUTPUT> #IsDefined("Cookie.permissions")# ----------------- It outputs "NO" ARGGGGGGGGHHH Is there anything specific to a user but spans CFAPPLICATION? HELP! -----Original Message----- From: Thane Sherrington [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 2:23 PM To: CF-Talk Subject: Session vs URL variables I've been encrypting my URL variables before passing them but I was wondering if I'd be better off simply using a Session variable to handle most of my variables and only hand off one or two URL variables. That way I could avoid the encryption. Which is the better approach? T ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists