You are here: Cookie troubles « HTML « IT news, forums, messages
Cookie troubles

Posted by Arjen on 02/22/06 22:09

Hi, I have a site where I set a cookie with a life of one year. Lately
however ive been having a lot of trouble with users who cant login to my
site aldough ive checked and everything should work fine.

There is a vilid cookie, but it's an old one .. a new one should have
been set but for some reason the old one still appears. I dont believe
it has anything to do with my script cause it's as standard as they come

code for the cookie (php)
SetCookie ("bezoeker", $cookieval, time()+31536000,"/");

example value of the cookie
15:f0e30456fc3a998248b94df40148e221

Is there anyone who has any ideas why a new cookie wont overwrite an old
one. Is there anything I can do .. maybe cache control or something ?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
type="text/css">
</head>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация