Results 1 to 8 of 8
Thread: A little help with cookies
Sep 22, 2005, 09:31 #1
A little help with cookies
Ok my website stores a cookie just fine but when someone goes to the site it apperas there logged out untill they click on the home page link then it apperas there logged in again. OR if they click on a link to my site it appears offline again im not sure what it is i have the cookie info in the header so its not like the homepage even matters but you have to click the home page link for it to log you in is there any way i can make it so right when you go to the site your logged in?
Sep 22, 2005, 09:33 #2PHP Code:
Sep 22, 2005, 09:40 #3
nevermind i think i got it what i did was make it store a cookie no matter what on login and i removed the if($autologin=='1') statement
Sep 22, 2005, 09:51 #4
hmm that only seems to work with IE not firefox anyone have any ideas?
Sep 22, 2005, 23:11 #5
Sep 22, 2005, 23:47 #6
- Join Date
- Nov 2004
- 0 Post(s)
- 0 Thread(s)
IE and firefox would be a client-side issue. check your HTML and js.
or make sure you're clearing your cache and that you're settings aren't causing your script to break.
a server-side script works the same in any browser, so if it works in any browser, then server-side scripts are not the problem.
Sep 23, 2005, 13:12 #7
so i should make it clear the cache on every page?
Sep 23, 2005, 13:16 #8
this is the cache i have in the header
<META http-equiv="Cache-Control" content="no-cache", must-revalidate>
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META http-equiv="Expires" content="Mon, 01 Jan 1990 00:00:00 GMT">