Help - Search - Members - Calendar
Full Version: Have To Login Everytime
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
an2net
Hi Everyone,

I am currently using movabletype 4.01. I am quite surprised whenever I visit mt.cgi I have to login even I enabled the Remember Me previously

Weird even if I have a new post, same thing happens.

Any ideas?
OtherNiceMan
Are you excepting cookies?

Remember Me writes a cookie, if JavaScript is disabled, if there are JavaScript errors or if your browser settings flush cookies when it closes then it will not work.
murdocjern
I had the same problem when I upgraded to MT4.01.

It went away when I upgraded to 4.12. I can't remember if 4.1 fixed it or not.

I changed no cookie settings. It worked before 4.01 and after. Not with 4.01.

I still have one installation of 4.01 and it still doesn't remember me even though it remembers me on a 4.12 and a 3.33 installation.
OtherNiceMan
Another thing to check is the timeout for the remember me cookie. for example forums.movabletype.org cookie expires after 4 hours.
joed86
I had a problem similar to this...

Check your individual archive template if you are using a custom template.

First look at your body class tag and make sure it has the onload script. (in bold)

<body class="layout-three-column" onload="individualArchivesOnLoad(commenter_name)">

Also look and make sure you have this in your head tags

<script type="text/javascript" language="javascript" src="http://yoururl.com/mt-site.js"></script>

I hope it helps...
François Nonnenmacher
Take a look at the following bug: http://bugs.movabletype.org/default.asp?82082

If you see that the IDs in your mt_user and mt_commenter cookies are always the same and never changing, try the following code SEVERAL times on your server:

perl -e 'print rand;'

If it outputs always the same number, then you've got your culprit. The fix is outlined in the bug report linked above (for MT4.2 it's line 1197 in file lib/MT/App.pm in the MT directory, otherwise for 4.01 just search for 'sub make_magic_token').

Cheers,
François Nonnenmacher
--
http://ubiquitic.com/
http://padawan.info/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.