Show
Ignore:
Timestamp:
12/05/05 00:20:32 (6 years ago)
Author:
john
Message:

fixed flash stuff

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/session.php

    r72 r73  
    103103    } 
    104104 
     105    function destory_session() { 
     106        session_destroy(); 
     107    } 
     108 
    105109    function unset_session() { 
    106110        session_unset($_SESSION[self::get_hash()]); 
    107111    } 
    108112 
    109     function destory_session() { 
    110         session_destroy(); 
     113    function unset_var($key) { 
     114        if(self::is_valid_host()) { 
     115            unset($_SESSION[self::get_hash()][$key]); 
     116        } 
    111117    } 
    112118 
     
    122128        } 
    123129    } 
    124  
    125130} 
    126131