I have this:
<cfif structKeyExists(session,'user')>
<cfif isDefined("session.user.displayname")>
<p class="toptext">
Logged In:
<cfoutput>#session.user.displayname#</cfoutput> <input type="button"
class="logout" value="Logout" onClick="location.href =
'index.cfm?event=home.logout'">
</p>
</cfif>
</cfif>
I would assume that is the session.user.displayname isn't defined it
would worry about giving an error but I get:
Element USER.DISPLAYNAME is undefined in SESSION.
Why is that?
Seth Buntin
Web Resources Coordinator
Kentucky Academy of Technology Education
Murray State University
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217018
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54