*******************************
For PHP version 4.3.x or higher
*******************************

You must change the configuration files to the following:
session.auto_start On
session.bug_compat_42 Off
session.bug_compat_warn off

You can EITHER do this by changing the PHP config file, or, if you are using Linux/Apache you will need an .htaccess file set up in the root directory.
This file will override the default SESSION state of the PHP processor, so that you can utilize the session code written in these scripts.
Add the following entries to the .htaccess file:


php_flag register_globals on
php_value session.auto_start 1
php_value session.bug_compat_42 0
php_value session.bug_compat_warn 0

*This assumes you have mod_php4 running on your server

**********************************
Setting up a .htaccess file
**********************************
At the command prompt, type the following (you can use emacs, vi, pico...):
1. type: vi .htaccess
2. Hit Insert then add the directives from above
3. save file, in emacs: hit escape, then ":s"
4. exit, in vi hit escape, then ":q"
5. allow access to file for Apache, type: chmod a+r .htaccess
  Go Back to Index   Recheck Session variables