hy....

try this....

        $sess_id = session_id();
        // Unset all Session Vars
        session_unset();
        // Destroy Session
        session_destroy();

        /*
        // Get session file and delete it !!!
        if (strtolower('files' == session_module_name()))
        {

            if( substr(PHP_OS, 0, 3) == 'WIN' )
            {
                $tz = "//";
                $path = str_replace( chr(92) , $tz , session_save_path() );
            }
            else
            {
                $tz = "/";
                $path = session_save_path();
            }

            @unlink($path . $tz .'sess_'. $sess_id );
        }
        */
---------------------------------------------------------------------------------------------------------------
 PGP Public Key: www.rt31x-tutorial.de/php/Steffen Stollfuss_pub.asc
---------------------------------------------------------------------------------------------------------------

Reply via email to