PC Nerd Posted April 13, 2007 Share Posted April 13, 2007 http://www.phpfreaks.com/forums/index.php/topic,135650.0.html we found in the above post, that my browser is storing cookies too long, and the php is still stoorign them as timestamps..... does anyone know why theyre storing so long, and why their storing the timestamps? thanks Quote Link to comment Share on other sites More sharing options...
Caesar Posted April 13, 2007 Share Posted April 13, 2007 Might be that I'm being too lazy to check the other thread but, why not use sessions? :-P Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted April 13, 2007 Author Share Posted April 13, 2007 um, im simply updating the login method from my already working site, shich uses cookies, and its stopped working. the entire site already uses cookies, and it would be easier simply to fix this problem. also, i dont know wif my host allows sessions Quote Link to comment Share on other sites More sharing options...
MadTechie Posted April 13, 2007 Share Posted April 13, 2007 why are you using strtotime ? just add seconds ie setcookie("TestCookie", $value, time()+3600); strtotime has probably added years on Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted April 13, 2007 Author Share Posted April 13, 2007 ok ill try that.,....... however it has been working untill i added the new code, then it stopped??? thanks Quote Link to comment Share on other sites More sharing options...
MadTechie Posted April 13, 2007 Share Posted April 13, 2007 my fav. Quote "Microsoft Products are Generally Bug Free" -- Bill Gates Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted April 13, 2007 Author Share Posted April 13, 2007 huh? ok, IVE FIXED IT!!!!!!! i was giving output ,and stuff, and low it loops through about 5 different pages to login (yes its a lot!!!!!) thankyou guys for all your help Quote Link to comment Share on other sites More sharing options...
MadTechie Posted April 13, 2007 Share Posted April 13, 2007 clicky the solvedy buttony i'm lossing it.. time for sleep Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.