I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
cookies er noget sært noget, så nogle gange må man bare prøve sig frem. et hint er, at du skal unsette en cookie med de samme værdier, som den blev sat.
Medmindre php reagerer fuldstændigt absurd i forhold til standarderne omkring cookies, burde den eneste fejlmulighed i forhold til mit forslag være, at den ikke accepterer tal mindre end en vis størrelse ...
Så du kan jo prøve at give den en størrelse større end 0'et, f.eks. 631148400 (1/1-1990)
setcookie( "cookie_navn" ); Virker fint, jeg bruger selv den alle steder. Prøv evt. at tvinge en reload af siden EFTER du har slettet den cookie. Læg mærke til dokumentationen:
* Cookies will not become visible until the next loading of a page that the cookie should be visible for. To test if a cookie was successfully set, check for the cookie on a next loading page before the cookie expires. Expire time is set via the expire parameter. A nice way to debug the existence of cookies is by simply calling print_r($_COOKIE);.
* Cookies must be deleted with the same parameters as they were set with. If the value argument is an empty string (""), and all other arguments match a previous call to setcookie, then the cookie with the specified name will be deleted from the remote client.
setcookie( "cookie_navn" ); Virker fint, jeg bruger selv den alle steder. Prøv evt. at tvinge en reload af siden EFTER du har slettet den cookie. Læg mærke til dokumentationen:
* Cookies will not become visible until the next loading of a page that the cookie should be visible for. To test if a cookie was successfully set, check for the cookie on a next loading page before the cookie expires. Expire time is set via the expire parameter. A nice way to debug the existence of cookies is by simply calling print_r($_COOKIE);.
* Cookies must be deleted with the same parameters as they were set with. If the value argument is an empty string (""), and all other arguments match a previous call to setcookie, then the cookie with the specified name will be deleted from the remote client.
Det er en BUG i cookies. Man er nødt til at sætte exp. tiden urimelig langt bagud.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.