getting logged out
getting logged out
After this most recent upgrade to 1.5.2, none of my editors can stay logged in long enough to do anything. Including myself. Seems like we have time to get in one quick change, then we're back at the login screen.
Anyone have a clue to a fix?
TIA
Anyone have a clue to a fix?
TIA
Re: getting logged out
I'm having this same exact problem. Anyone know of a fix yet?
Re: getting logged out
We still haven't found a fix here. I've done everything on the client side I can think of - different browser, clearing the cache, deleting cookies. At first I thought deleting cookies helped, but eventually it started happening again.
I've been thinking of giving my host a login and asking them, but that would require me to sit and write a step by step for them and I've just been too lazy.
I've been thinking of giving my host a login and asking them, but that would require me to sit and write a step by step for them and I've just been too lazy.
- chuckienorton
- Forum Members
- Posts: 68
- Joined: Wed Feb 14, 2007 6:58 pm
- Location: Pasadena, California
Re: getting logged out
ME TOO. I just came forum because it's KILLING me... I'll have a stylesheet I'm working on & then I click "Apply" and i loose everything because it asks me to log in again. I'd love to NEVER have to log back in from my computer.
I've used CMSMS for over 25 projects & never had this prob. Is it the newest update?
Thanks in advance!
I've used CMSMS for over 25 projects & never had this prob. Is it the newest update?
Thanks in advance!
Re: getting logged out
Please try 1.5.3 - since this release have added some more tweaks to try solve the auto log out problem.....
ReneH 
A search will save you hours waiting for an answer!

A search will save you hours waiting for an answer!

- chuckienorton
- Forum Members
- Posts: 68
- Joined: Wed Feb 14, 2007 6:58 pm
- Location: Pasadena, California
Re: getting logged out
Thanks for quick reply.
I'm using 1.5.3. Haven't had probs before.
I'm using 1.5.3. Haven't had probs before.
- chuckienorton
- Forum Members
- Posts: 68
- Joined: Wed Feb 14, 2007 6:58 pm
- Location: Pasadena, California
Re: getting logged out
I checked and if I already have 1.5.3 this is same code, correct? Is it my personal host? Or can i adjust with php.ini?Tbone wrote: Try this: http://forum.cmsmadesimple.org/index.ph ... 873.0.html
Thanks!
Re: getting logged out
In 1.5.3 is this code:
an the changes are:
this part from original
can start only once. if you visit the page site at first and than you make a login it has no function.
Code: Select all
#Setup session with different id and start it
@session_name('CMSSESSID' . $session_key);
@ini_set('url_rewriter.tags', '');
@ini_set('session.use_trans_sid', 0);
if(!@session_id())
{
#Trans SID sucks also...
@ini_set('url_rewriter.tags', '');
@ini_set('session.use_trans_sid', 0);
@session_start();
if( isset($CMS_ADMIN_PAGE) )
{
if( !isset($_SESSION[CMS_USER_KEY]) )
{
// maybe change this algorithm.
$key = substr(str_shuffle(md5($dirname.time().session_id())),-8);
$_SESSION[CMS_USER_KEY] = $key;
}
}
}
Code: Select all
#Setup session with different id and start it
@session_name('CMSSESSID' . $session_key);
if(!@session_id()) @session_start();
if( isset($CMS_ADMIN_PAGE) && ( !isset($_SESSION[CMS_USER_KEY]) ))
{
// maybe change this algorithm.
$key = substr(str_shuffle(md5($dirname.time().session_id())),-8);
$_SESSION[CMS_USER_KEY] = $key;
}
/**
Code: Select all
if( isset($CMS_ADMIN_PAGE) )
{
if( !isset($_SESSION[CMS_USER_KEY]) )
{
// maybe change this algorithm.
$key = substr(str_shuffle(md5($dirname.time().session_id())),-8);
$_SESSION[CMS_USER_KEY] = $key;
}
}
Re: getting logged out
I finally asked my host about it. They dropped a huge (38k) php.ini file in my folder that seems to have solved the problem. Though honestly I haven't had to do a lot of editing since then, and I really have no idea what in that huge file may have solved the problem.