Do a search for "session_save_path" one fellow found a solution that might work for you.Originally Posted by sdg111
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
My webhost has told me I have to use file based sessions as opposed to user based sessions to get rid of an error message.
If the session.save_handler is set to "user", you will see an error on the screen, which will look something like this:
Fatal error: session_start(): Failed to initialize storage module: user (path: /clientdata/clients/e/x/example.com/www) in /clientdata/clients/e/x/example.com/www/file.php on line XX
This is because you are trying to use "user" mode, rather than "files".
The below should be added to your file:
ini_set("session.save_handler", "files");
session_save_path ("path_to_temp_dir/");
Where path_to_temp_dir/ is the full server path
Where should I be adding the ini_set?
Thanks heaps
Do a search for "session_save_path" one fellow found a solution that might work for you.Originally Posted by sdg111
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks