session_destroy doesnt destroy anything
Moderator: General Moderators
session_destroy doesnt destroy anything
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
can you post same code?
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: session_destroy doesnt destroy anything
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?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...
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.