Changeset 73 for trunk/trax/vendor/trax/session.php
- Timestamp:
- 12/05/05 00:20:32 (6 years ago)
- Files:
-
- 1 modified
-
trunk/trax/vendor/trax/session.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/session.php
r72 r73 103 103 } 104 104 105 function destory_session() { 106 session_destroy(); 107 } 108 105 109 function unset_session() { 106 110 session_unset($_SESSION[self::get_hash()]); 107 111 } 108 112 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 } 111 117 } 112 118 … … 122 128 } 123 129 } 124 125 130 } 126 131
