root/branches/licq/rms-web/check_session.php

Revision 4149, 0.5 kB (checked in by emostar, 3 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?
2/* clear any post/get input of identification */
3$username = "";
4$password = "";
5
6/* if your server uses load balancing or anything that
7 * causes session variables to be mixed up you can provide
8 * a fixed location (physical directory) here. must have
9 * full execute/read/write access! */
10//session_save_path( "/home/allusers/myself/htdocs/tmp" );
11session_set_cookie_params(60*60*5); // five hours
12session_start();
13if ( isset( $_SESSION["username"] ) )
14{
15  $username = $_SESSION["username"];
16  $password = $_SESSION["password"];
17}
18?>
Note: See TracBrowser for help on using the browser.