I am trying to see if a user is logged in or not. If a user is NOT logged in
and I call context.getCallerPrincipal().getName(), it will return the string
"unknown" (quotes are added).

I could test to see if the string is "unknown", but I feel this is a hack.
What is the best way to test whether a user is logged in via the context
object?

Thanks






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

Reply via email to