----- Original Message -----
From: "David Fafard" <[EMAIL PROTECTED]>
> I'm writing multiple apps for an intranet
> and wondering if I can have a single login
> page and have all my apps share the session
> variables from the intial login.
---------------------------

AFAIK, session variables are specific to an app - as defined by the
CFAPPLICATION tag in your Application.cfm template. So you can only share
session variables between templates that have the same Application.cfm above
them.

Processing a template, CF checks in the same folder for an Application.cfm
to process first of all. If there isn't one, it looks in the parent
directory. If there's not one there, it keeps looking in the next directory
level up, up to the web root, to find an Application.cfm. So all templates
in the same directory or lower than Application.cfm have that file processed
before them on every request.

What are you trying to do between the "multiple apps"? If it's *one*
intranet, wouldn't it be one app, in the above sense of sharing
Application.cfm?

- Gyrus

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to