Welcome to Geeklog, Anonymous Tuesday, November 26 2024 @ 10:22 am EST
Geeklog Forums
cookie naming
cafead
Anonymous
I had a problem with geeklog cookies interfering with another application I have on my site. I was told that I could change the cookie naming convention found in the config. inc.php file.
Unfortunately I don't know a lot about using cookies or coding and I can't figure out what I should change. Can anyone point me in the right direction.
Thanks for any suggestions.
Unfortunately I don't know a lot about using cookies or coding and I can't figure out what I should change. Can anyone point me in the right direction.
Thanks for any suggestions.
9
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Text Formatted Code
$_CONF['cookie_session'] = 'gl_session';$_CONF['cookie_name'] = 'geeklog';
$_CONF['cookie_password'] = 'password';
$_CONF['cookie_theme'] = 'theme';
$_CONF['cookie_language'] = 'language';
$_CONF['cookie_lastvisit'] = 'LastVisit';
$_CONF['cookie_lastvisittemp'] = 'LastVisitTemp';
These are the default names for the cookies Geeklog uses (in config.php). The documentation tells you which cookie is used for what.
bye, Dirk
4
8
Quote
cafead
Anonymous
Where will I have to change the names in addition to the config.php file. I tried just changing the names there and now cookies are not working.
Thanks
Thanks
4
4
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You only need to change them in config.php. If, say, you want to change the password cookie, set
$_CONF['cookie_password'] = 'geeklog_pwd';
(or whatever you want the new name to be). That should work.
Of course, you have to log in again after that change (or, better yet, log out first, then make the change, then log in again).
bye, Dirk
$_CONF['cookie_password'] = 'geeklog_pwd';
(or whatever you want the new name to be). That should work.
Of course, you have to log in again after that change (or, better yet, log out first, then make the change, then log in again).
bye, Dirk
7
5
Quote
All times are EST. The time is now 10:22 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content