Login or Register

RSS IconRecent posts in this topic

avatar
herkalees on Dec 3. 2006. 7:40 am
I tried that actually, but then noticed within login.php that the one line of code that creates the checkbox is all php stuff, and I suck at php.
avatar Staff
Ilija Studen on Dec 4. 2006. 2:39 pm
Replace:

<?= checkbox_field('login[remember]', array_var($login_data, 'remember') == 'checked', array('id' => 'loginRememberMe')) ?>


with:

<?= checkbox_field('login[remember]', true, array('id' => 'loginRememberMe')) ?>


That should keep the checkbox always checked.

About your problem - can you be more specific about the platform you are using (web server, PHP version, browser)?
activeCollab Team Member
avatar
herkalees on Dec 4. 2006. 11:45 pm
Sure, I am using a apache-on-linux VPS (very common I believe), running PHP5 and MySQL.

Your code worked perfectly, thank you!
avatar
sam on Dec 22. 2006. 12:44 pm
We had the same problem using a apache-on-linux running PHP5 and MySQL. We changed the line of code above and it worked. There should probably be a update for this problem in the next release.

thank Ilija
avatar Staff
Ilija Studen on Dec 22. 2006. 2:53 pm
This is #222. Can any of you who is experiencing this type of problem send me cookie details after login is executed with Remember me set to off? You can see cookie details with WebDeveloper extension for Firefox:

1. Install
2. Restart FF
3. In WebDeveloper menu select Cookies -> View Cookie information

Things that I'm most interested in is:

1. What variables are set?
2. What is their expiration time?

Please, send it to ilija.studen@gmail.com, not on the forum - there may be some sensitive data ;)

Or you can send me address of your activeCollab installation and create me an account for testing so I can see what is going on. I'd prefer second option.
activeCollab Team Member
avatar
djit on Jan 10. 2007. 4:08 pm
Hi everybody,

I have the same pb after upgrading from 0.7 to 0.7.1.

Environment:
WAMP on Win XP dev machine

I think it can be a cookie pb: did everyone here tried only with IE.

It 's working fine with Firefox and only with "remember" checked for IE.

Hope it will help (I've sent the cookie values to your gmail)

(Great job Ilija, thx for your work).

Djilali
avatar
jwheat on Jun 29. 2007. 6:53 pm
I'm having this problem with 3 browsers. Checked and unchecked 'remember me' box - same thing.
I used the Web Developer tool bar for Firefox, did a View Cookie Information and get 1 cookie - PHPSESSID - No session or 'static' cookie from the login process. I do get a 'Failed to log you in. Please check your login data and try again' message if the password is wrong, so authentication is working.

Here's the only cookie information -

Name PHPSESSID
Value e391a70902a8568a7ffc6d337e9d780e
Host www.codedog.net
Path /
Secure No
Expires At End Of Session

Nothing regarding the activeCollab login.

I watched with Live HTTP Headers as well and there is no cookies being set at all other than the PHPSESSID. I'll email you the header capture to (ilija.studen@gmail.com).

Here's my other info - for what its worth -

Windows 2000 Pro
IIS 5
PHP 5.x
MYSql 5.x
Firefox 2
Internet Explorer 6
Safari for Windows

-Jon
avatar Staff
Ilija Studen on Jun 29. 2007. 8:53 pm
There are some known issues with IIS5 and cookies.
activeCollab Team Member
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.

RSS IconRecent posts in this topic