|
Revision 4570, 0.5 kB
(checked in by erijo, 2 years ago)
|
|
Undo r4567 since rms-web has not been replaced by licqweb.
Also fixed most of the images (they were broken) by copying them from
licqweb.
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | <? |
|---|
| 2 | session_start(); |
|---|
| 3 | /* clear any post/get input of identification */ |
|---|
| 4 | $username = ""; |
|---|
| 5 | $password = ""; |
|---|
| 6 | |
|---|
| 7 | /* if your server uses load balancing or anything that |
|---|
| 8 | * causes session variables to be mixed up you can provide |
|---|
| 9 | * a fixed location (physical directory) here. must have |
|---|
| 10 | * full execute/read/write access! */ |
|---|
| 11 | //session_save_path( "/home/allusers/myself/htdocs/tmp" ); |
|---|
| 12 | session_set_cookie_params(60*60*5); // five hours |
|---|
| 13 | |
|---|
| 14 | if ( isset( $_SESSION["username"] ) ) |
|---|
| 15 | { |
|---|
| 16 | $username = $_SESSION["username"]; |
|---|
| 17 | $password = $_SESSION["password"]; |
|---|
| 18 | } |
|---|
| 19 | ?> |
|---|