user & admin cookie issues
Rushian 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: user & admin cookie issues
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
user & admin cookie issues
Interesting. No, there are no changes with the login system between the freeware and licensed version.
Interesting. No, there are no changes with the login system between the freeware and licensed version.
1 Re: user & admin cookie issues
Rushian
OP
0
From: -
From: -
user & admin cookie issues
Originally posted by Rushian:
FYI: this went away after upgrading to the commercial version of 1.8.. Was that a trick to make us upgrade?
Originally posted by Rushian:
Also, I haven't figured out what triggers it yet, but I consistantly get logged out when I click on either the User CP or Private Messages links. It happens about 30% of the time. Is the cookie timing out? Whats the current timeout set for?
FYI: this went away after upgrading to the commercial version of 1.8.. Was that a trick to make us upgrade?
1 Re: user & admin cookie issues
Rushian
OP
0
From: -
From: -
user & admin cookie issues
Works!
What's the downside of disabling the session check?
[Edited by Rushian on 2005-05-25 20:48:28]
Works!
What's the downside of disabling the session check?
[Edited by Rushian on 2005-05-25 20:48:28]
1 Re: user & admin cookie issues
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
user & admin cookie issues
This is caused by the session check. You could disable this by changing the following in cadmin/index.php:
to:
This is caused by the session check. You could disable this by changing the following in cadmin/index.php:
if ($ldata[2] != $admin[user_securekey])
{
setcookie ("esselbachsta", 0);
}
to:
if ($ldata[2] != $admin[user_securekey])
{
//setcookie ("esselbachsta", 0);
}
Is there a way to have a different cookie for the admin side of ST vs the front end?
Seems when I log out of the front end (testing, etc), the next thing I try to do in the admin CP (in a different browser window) will fail and I get prompted to log in again.
Of course I was usully trying save a template or news item I just edited, and then that fails, and have to do eveything again.. ;(
Also, I haven't figured out what triggers it yet, but I consistantly get logged out when I click on either the User CP or Private Messages links. It happens about 30% of the time. Is the cookie timing out? Whats the current timeout set for?