Revision 107
Added by stefan about 19 years ago
index.php | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 |
// $Id: index.php,v 1.2 2005/04/01 07:52:57 rdjurovich Exp $
|
|
3 |
// $Id$ |
|
4 | 4 |
|
5 | 5 |
/* |
6 | 6 |
|
... | ... | |
29 | 29 |
setcookie('REMEMBER_KEY', '', time()+60*60*24*30, '/'); |
30 | 30 |
} |
31 | 31 |
|
32 |
// Start a session |
|
33 |
if(!defined('SESSION_STARTED')) { |
|
34 |
session_name(APP_NAME.'_session_id'); |
|
35 |
session_start(); |
|
36 |
define('SESSION_STARTED', true); |
|
37 |
} |
|
38 |
|
|
39 | 32 |
$_SESSION['USER_ID'] = null; |
40 | 33 |
$_SESSION['GROUP_ID'] = null; |
41 | 34 |
$_SESSION['USERNAME'] = null; |
Also available in: Unified diff
Corrected session code.