Login Issue - Repeated Logins & Remember Me

17 years 8 months ago #18163 by spl0it
I'm having problem with a joomla site I'm working on.

I cannot get the login to function properly on my test server but everything is just fine and dandy on my own pc.

The issue is the login takes 2 succesful logins to work & the remember me cookie does not work.

I've spent a lot of time looking through the code and the only solution I could come up with to get it working was to add the following to the comprofiler.php code:

if (checkJversion() == 0) {
$mainframe->login($username,$passwd);
} else {
$mainframe->login($username,$passwd2);
}
$_PLUGINS->trigger( 'onAfterLogin', array($row, true));
die();

When I add die(); the cookie exist properly in both browsers, without it, neither work. (Testing with IE6.0 and Firefox 1.5)

Obviously adding die(); to the code is not a good solution... also to note is I believe it may have something to do with the actual php setup on the server. After excessive testing with that as well I'm still stuck.

Any suggestions would be more the helpful.

Thanks in advance

Note: Joomla! 1.0.10 Stable [ Sundown ] 26 June 2006
Note: Community Builder 1.0 Stable (latest and greatest)

Please Log in to join the conversation.

15 years 7 months ago #74877 by flipsidejourney
Replied by flipsidejourney on topic Re:Login Issue - Repeated Logins & Remember Me
Did you ever get a response to this? I am having the same problem. I am using CB 1.1 with Joomla 1.5 from GoDaddy.com.

How did you end up fixing it? It take me 3 times to login before the cookie catches.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.185 seconds

Facebook Twitter LinkedIn