Skip to main content
Inspiring
December 5, 2016
Answered

CFlogin Issues

  • December 5, 2016
  • 1 reply
  • 678 views

So I am using application.cfc and I have had the same loginform/application.cfc setup for many sites. A new site was created for me recently and for some reason I cannot get the cflogin to work correctly.

It bounces me to the loginform.cfm if I am not logged in, when I log in and submit the form I see the index.cfm but it does not look like the cflogin worked. I see an empty string for getauthuser(). From the index page if I click on any link I get redirected to loginform.cfm again and still the getauthuser() is an empty string. I have tried to dump cflogin.user and it is never defined.

Has this ever happened to anyone before? Any thoughts on what could be wrong? Could this be an issue with how the site is set up?

I also moved another working site into this directory and the login does the same thing where it works fine in it's original directory.

Any ideas or info is appreciated.

This topic has been closed for replies.
Correct answer siriiven

All set. It was an issue with the SSL Cert. Once it was set up the issue stopped.

1 reply

siriivenAuthorCorrect answer
Inspiring
December 6, 2016

All set. It was an issue with the SSL Cert. Once it was set up the issue stopped.

BKBK
Community Expert
Community Expert
December 10, 2016

Please mark the answer as correct. It will surely help someone else in future.