
Just create a .htaccess file on your web site root directory with this contents
php_value session.save_path "/<a valid path>/Sessions"
php_value session.auto_start "On"
And create a Sessions writable directory in your site root directory
If you want to check your configuration you can create a page with
<?phpinfo();?> or
<?php echo (($sp=ini_get('session.save_path'))?$sp:'Not set'); ?> or
<
?php echo is_writable( $sp ) ? 'writable' : 'unwritable';?>
If you want to use it on SourceForge you should create the Sessions directory under the following path:
/tmp/persistent/<your project name>/
0 commenti:
Post a Comment