This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

user & admin cookie issues


avatar
Rushian 0
From: -
user & admin cookie issues

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. Smiling Face

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?

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
avatar
Administrator
1340
From: Vienna, Austria
user & admin cookie issues

Interesting. No, there are no changes with the login system between the freeware and licensed version.
1 Re: user & admin cookie issues
avatar
OP 0
From: -
user & admin cookie issues

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.. Smiling Face Was that a trick to make us upgrade? Grinning Face Grinning Face
1 Re: user & admin cookie issues
avatar
OP 0
From: -
user & admin cookie issues

Works! Smiling Face

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
avatar
Administrator
1340
From: 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:

 if ($ldata[2] != $admin[user_securekey])

{
setcookie ("esselbachsta", 0);
}

to:

 if ($ldata[2] != $admin[user_securekey])

{
//setcookie ("esselbachsta", 0);
}

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.