|
Posted by Schraalhans Keukenmeester on 04/13/07 19:48
Tyno Gendo wrote:
> pank wrote:
>> hey guys ...
>> can anybody tell me a php logout script.
>> I want to log out from one page which i was developing ,
>> i tried but it's not working. I have tried
>> session_destroy(),session_unset() functions
>> but they are not working.
>> If any one is having that script then please help me .
>>
>
> Session_destroy should destroy all variables you have set in $_SESSION
>
No it does NOT. They are valid as long as the script runs. A call to
$_SESSIONS=array(); after the session_destroy() clears the session
variables.
Sh.
Navigation:
[Reply to this message]
|