Actually doesn't this return a NULL string, so you would be better of
doing something like this.

<cfif getAuthUser() not "">


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bryce
Hoffmann
Sent: Thursday, 18 September 2003 8:43 AM
To: CFAussie Mailing List
Subject: [cfaussie] Re: CFLOGIN

Thanks Mark,

> The getAuthUser() function will return the name of the logged in user.
I'm
> assuming that if no user is logged in then it will be blank?

Using getAuthUser() to test before flipping to a CFLOGIN is now working
a
treat!
I did try this - but must have done something screwey the first time. It
requires a:

<CFSET isloggedon="#getAuthUser()#">
<CFIF isloggedon is "">

syntax, cause getAuthUser() seems to have problems qeried directly in a
CFIF
(perhaps cause its a function?)

  <cfif isDefined("cflogin")>
is used in all sorts of examples I have found. Any idea what its use is?

Bryce :-)




---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/




---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to