i think there is a application.security.isLogged() function (or something
similar to it, check the dmSecurity / security.cfc. I would probably say to
use that in case the session variable ever gets updated to something
different or userid gets renamed.
Otherwise I would say you're fine as long as you're checking that after
users have signed in.

Tomek

On Mon, Dec 1, 2008 at 9:13 PM, Marco van den Oever <
[EMAIL PROTECTED]> wrote:

>
> What is the official way to get the logged in user data?
>
> For instance now i use session.dmsec.AUTHENTICATION.userid to get the
> logged in userid, i have chosen this because i am afraid that if the
> profile isn't filled in, the code will not work.
>
> How do you do it? And should you always point out to users they HAVE
> to fill in the profile or else the plugin etc doesn't work, or is it
> best to build in some checking that will throw a request to first fill
> in the profile.
>
> Thank you
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to