Users cannot log on - no error message

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/18/2014 12:44:38 PM
Gravatar
Total Posts 2

Users cannot log on - no error message

I am having an issue where It appears I successfully log on to my site as an admin (the last logon date is updated in the user table), but I am never actually logged in.  When the screen refreshes after log on, it redirects me to the home page where I still have the "sign in" link at the top and do not have admin access to the site.  This happens with all user accounts.  The site will allow me to register a new user, and it stores them in the DB, but no user can log on successfully.  If I try to log in with an incorrect password, I get the log in failed message, but when using the correct credentials, it just redirects to the home page without logging me on.

I recently moved my SQL Server DB to a different server, but not sure if this caused the issue.  I pointed the application back to the original database, but the problem persists.

Any suggestions would be appreciated.

thanks

 

 

12/18/2014 12:58:22 PM
Gravatar
Total Posts 18439

Re: Users cannot log on - no error message

sounds like a failure to create the authentication cookie, login succeeds but the cookie is not created.

only a few things I know that cause that

1. having the site inside a frame or frameset with a different domain in the outer frame. web browsers will not let one domain see the cookies of the other domain. some hosts have weird setups like that especially things like "domain masking or forwarding" often do things like that.

2. software on the client machine could also block a site from setting a cookie, any security or privacy guard type thing or even some web browser toolbar plugin can be at fault.

the first cause would happen from any client machine, the second one can be ruled out by trying to login from another client machine on a different network or at least without the same software installed.

3. another possibility is if you have the settings configured so that cookies are only transferred when using ssl/https, then if you go to a page without https the cookie will not be sent in the request headers therefore not seen by the site. if you have an ssl certificate you should check the box in site settings to use ssl on all pages. if you don't even have an ssl certificate you can rule out this cause

 

12/18/2014 1:39:04 PM
Gravatar
Total Posts 2239

Re: Users cannot log on - no error message

Does this happen in all browsers or just IE?

If it happens in IE only, see this thread.

12/18/2014 1:56:56 PM
Gravatar
Total Posts 2

Re: Users cannot log on - no error message

I figured it out.  Based on your suggestion #3, I reviewed the authentication section in the web config file to check for the SSL setting, and noticed someone had changed the authentication mode from Forms to Windows.  Changed it back and now everything works beautifully!

Thanks for pointing me in the right direction.

You must sign in to post in the forums. This thread is closed to new posts.