• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Admin login, needs forced refresh to show backend

#1
Hello all,

Got another small problem I can't seem to work out. Every time I log into the back-end of XF it logs me in but I'm greeted with the login screen again, I need to hit CTRL+F5 to force refresh the browser in order for admin to show.

Page headers show
Code:
cache-control: no-cache
, am I missing something?

Thanks,
Paul
---
Code:
Request Method:GET
Status Code:200 OK
Request Headers view source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-GB,en-US;q=0.8,en;q=0.6
Cache-Control:no-cache
Connection:keep-alive
Cookie:xf_session_admin=33c61a8465b19cecf87d03a09776d9ca; incap_ses_112_35107=Q89aJjo91jtJbAT6n+eNAVBqG1EAAAAA6bk7jcEvxd8dCuQ8J5dWjQ==; cbc_country_name=Greece; cbc_country_code=gr; PHPSESSID=jp1s6rt2qktfp2hpoefpq8dlb7; __utma=7197743.699993598.1360751708.1360751708.1360751708.1; __utmc=7197743; __utmz=7197743.1360751708.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); incap_ses_32_35107=fOJlYKssDgCbbIM6Y7VxABRtG1EAAAAAT/Bn5Cd5QkOanwjUtNUIAw==; incap_ses_111_35107=sWfVZTsjukaTTnwJEVqKAVN5G1EAAAAAq3fAxolt7htXDtNAjXlSCA==; xf_session=e5a3015ea0f238eabca04e12f62b1681; visid_incap_35107=ipi8VUuTSzKjhdIBrx6IKlBqG1EAAAAAAAAAAAAAAAANazyXBMOqKnPlX2quzLbC; incap_ses_86_35107=qcNOQg/FvAaVjEYaB4wxAdJ6G1EAAAAAX4V9UuX8S+6aNdzIY68/WA==
DNT:1
Host:www.livefreedietravelling.com
Pragma:no-cache
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17
Response Headersview source
Accept-Ranges:bytes
Age:0
Cache-control:max-age=86400, max-age=86400, public, must-revalidate, proxy-revalidate
Connection:keep-alive
Content-Encoding:gzip
Content-Type:text/html; charset=UTF-8
Date:Wed, 13 Feb 2013 12:01:47 GMT
Expires:Thu, 14 Feb 2013 12:01:47 GMT
Last-Modified:Wed, 13 Feb 2013 12:01:47 GMT
Pragma:public
Set-Cookie:xf_session_admin=a5ab2702686cd830d642c4d4da38cd11; path=/; httponly
Transfer-Encoding:chunked
Vary:Accept-Encoding
X-CDN:Incapsula
X-Iinfo:10-5349003-5349302 NNNY CT(8 -1 0) RT(1360756890635 16677) q(0 0 0 -1) r(0 0) U5
 

Jake Bunce

XenForo moderator
Staff member
#2
The headers indicate that the page is not cached locally. But there may be some funny business happening on the server side. You mentioned in the other thread that you use a proxy server. I suggest looking there.
 
#3
Hey Jake,

Thanks for the swift reply. The proxy server does not cache anything, it's merely a DNS filter/firewall (not sure if that's correct terminology?!) and can confirm working on wordpress login.

Although I don't think it makes a difference I've filtered the admin.php file from APC:
Code:
apc.filters = "-/var/www/community/admin\.php$"
I'm not sure what else it could be or where to even start poking around to resolve issue... any pointers?
Thanks again,
Paul
 

Mouth

Well-known member
#4
I get this issue all the time when using a different domain between admin logons. Eg. domain.com vs www.domain.com or https vs http
I have to clear browser cache and cookies to correct.
 
#5
Hey mouth,

Thanks for the heads-up, unfortunately for me I'm on the same domain and always use www with no https:// to still stumped as to the cause, hopefully one of the many geniuses on here will help point me in the right direction!!