Why do I have to log in twice?

Dear colleagues,

After I log in to the OJS, when I click on any of the following links

Site Settings
Hosted Journals
Languages
Authentication Sources
Categories
System Information
Expire User Sessions
Clear Data Caches
Clear Template Cache
Clear Scheduled Task Execution Logs
Merge Users

I’m forced to log out. Then I have to enter the username and password twice (Yes, twice), I can go on with the clicking.

Could anyone help me?

Thank you

Maybe connected to this, see @asmecher answer there:

Thank you.

The session_check_ip setting in config.inc.php is now turned off, but the problem still exists.

By the way, I’m using OJS 2-4-8-0

Anyone can help?

This sounds like you might be changing the domain when following internal links. It could be as unobtrusive as myjournalsite.tldwww.myjournalsite.tld.

Compare the link URLs with the URL in your browser’s bar.

Thank you for your help.

The first time I log in, the url is:
http://www.mydomain.com/ojs/index.php/index/login

After I log in, if I click “Site Settings”,

I am forced to log out, the url becomes:
http://www.mydomain.com/ojs/index.php/index/login?source=%2Fojs%2Findex.php%2Findex%2Fadmin%2Fsettings

After I enter the username and password, the url just becomes to:
http://www.mydomain.com/ojs/index.php/index/login?source=%2Fojs%2Findex.php%2Findex%2Fadmin%2Fsettings
After I enter the username and password,it is ok now, I can go on with Site Settings

Is this information helpful to find out the reason?

The important bit here is the http://www.mydomain.com/, which you report is staying the same across your navigation.

Can you replicate this in more than one browser, and on more than one computer?

Is the site publicly available where we can take a look at it?

ctgraham, thank you so much! Great you!

The problem occurs when I use the IE.
When I use google chorme or firefox, everything is ok!

Thanks again!

Once difference which IE exhibits from other browsers is that cookies are shared across subdomains (see Q3). Since you describe access limited strictly to the www subdomain, it seems like this shouldn’t be relevant, unless we’re missing something.

You might try clearing cookies for IE to see if that makes a difference; also, try IE on a different computer to see if it really is always IE, or just your IE.