This is a multi-part message in MIME format.
--------------ED49EAF072FF29B4440A83B7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I have a
<cfinclude template="secure.cfm">
at the top of my cfm templates.
This is secure.cfm:
<!--- User has yet to login --->
<cfif '#Session.User#' IS "">
<cflocation url="login.cfm">
</cfif>
The small secure app that I've been using is working well,
except for when the variable Session.User does not exist -
for example, I have a page called info.cfm (with the
cfinclude for secure.cfm) - If I load up my browser, enter
the URL and file name (info.cfm), I would like for it to
default to login.cfm and prompt for a login, not display an
error message (The session variable USER does not exist.) I
also get the same when the session times out.
Is there a way that I can say [if variable Session.User does
not exisit, create Session.User with value ""]? This would
default to login.cfm?
Thanks.
-----Jamie
--------------ED49EAF072FF29B4440A83B7
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Symonds, Jamie
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Jamie Symonds
n: Symonds;Jamie
adr: Box 780;;St. F.X.U.;Antigonish;Nova Scotia;B2G 2X1;Canada
email;internet: [EMAIL PROTECTED]
title: Bachelor of Information Systems, Major (student)
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
version: 2.1
end: vcard
--------------ED49EAF072FF29B4440A83B7--
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.