Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

IsUserLoggedIn returns "NO" after cfloginuser

Explorer ,
Mar 24, 2008 Mar 24, 2008
I'm using the IsUserLoggedIn() function for some basic logic like this

<cfif isUserLoggedIn() >
<!--- display the logout link --->
</cfif>

But it does not seem to return yes even after successfully logging in a user with the cflogin tag. I know this works
but i don't understand what i'm doing wrong. Anybody have any idea how I can troubleshoot this?
306
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 24, 2008 Mar 24, 2008
are you using <cfloginuser> tag to log in your users? isuserloggedin()
requires the use of <cfloginuser> tag.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 25, 2008 Mar 25, 2008
Yes I am using the <cfloginuser> tag to log in users. I meant <cfloginuser> instead of <cflogin> in my original post.

It originally worked (isUserLoggedIn()) but when i came in to work yesterday
it started returning no when a user logs in...which boggles me. To the best of my knowledge I did not change anything between it returning yes one day and no the next.
I searched the forums for "isuserloggedin" but didn't find anybody else with any problems. So it seems to suggest I'm misunderstanding something. Any ideas?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 26, 2008 Mar 26, 2008
Anybody? Any idea how to troubleshoot this?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 26, 2008 Mar 26, 2008
LATEST
start by posting your login code here...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources