"Real software engineers work from 9 to 5, because that is the way the job is described in the formal spec. Working late would feel like using an undocumented external procedure."
Omdat je dit test in je lokale zone waar het wel kan omdat de beveiliging laag is, zoals Janoz ook al zegtReveller schreef op 16 augustus 2004 @ 15:48:
Nu vertelde Janoz mij dat dat komt omdat IE geen cookies zonder tijd en pad accepteert. Nu de hamvraag:
waarom werkt dit
HTML:
1 <a href="javascript: void(null)" onclick="document.cookie='menu=1,2'">set</a>
(het plaatsen van een client side cookie zonder tijd en pad) dan wel bij mij?
[ Voor 32% gewijzigd door André op 16-08-2004 15:51 ]
http://www.devguru.com/Te.../quickref/doc_cookie.htmlThe "date" parameter must be in the format as returned by the toGMTString() method of the Date object. The expires attribute is optional; not setting this will mean that the cookie will expire when the user shuts down their browser.
Werkt gewoon iets anders dan de php koekjes
disjfa - disj·fa (meneer)
disjfa.nl
Verwijderd
Als je als expire param expliciet 0 aangeeft en dan ook je path toevoegt doet ie het wel.
PHP:
1
| setcookie("naam", "value", 0, "/") |
Dat de cookie niet wordt geaccepteerd heeft niet met de tijd, maar met het domein en pad te maken.Reveller schreef op 16 augustus 2004 @ 15:48:
Nu vertelde Janoz mij dat dat komt omdat IE geen cookies zonder tijd en pad accepteert.
Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'