Page 1 of 1
session_destroy doesnt destroy anything
Posted: Wed Jan 20, 2010 10:24 pm
by nga
first of all, im using ajax to manually request file with the session_destroy. I succedd in unset session so i'm guessing it isnt coding problem but there is something im missing here. I read you have to unset session uid too but im not using cookies. Just pure $_SESSION...
Re: session_destroy doesnt destroy anything
Posted: Thu Jan 21, 2010 3:08 am
by balo
can you post same code?
Re: session_destroy doesnt destroy anything
Posted: Mon Jan 25, 2010 12:33 pm
by akuji36
Re: session_destroy doesnt destroy anything
Posted: Mon Jan 25, 2010 12:53 pm
by AbraCadaver
nga wrote:first of all, im using ajax to manually request file with the session_destroy. I succedd in unset session so i'm guessing it isnt coding problem but there is something im missing here. I read you have to unset session uid too but im not using cookies. Just pure $_SESSION...
PHP sessions use a cookie by default to track the session id. Unless you have changed this, then there is a cookie used. What problem are you having?