Page 1 of 1

session_save_path

Posted: Mon May 14, 2007 10:40 pm
by Popparod
Script URL:http://www.wilmingtonwintergrass.org/gBook/gbook.php
Version of script:
Hosting company:FatCow
URL of phpinfo.php:http://www.wilmingtonwintergrass.org/gBook/phpinfo.php
URL of session_test.php:http://www.wilmingtonwintergrass.org/session_test.php

.....:session,session_save_path......

......With your help I got my gBook working on Our server,then my friend wanted the same thing on hers. I only seem to have trouble with "sessions"....and the "Security Text/Image"....

http://www.wilmingtonwintergrass.org/gBook/gd_test.php

Her server say's this..

..Add this to the beginning of the page,for whatever script your using....

"session_save_path("/home/users/web/<bucket>/<your_homedir>/cgi-bin/tmp");
session_start();

.....I got the correct path but I didn't know if I should post it....

....Thank You for your help in the Past....!

Posted: Mon May 14, 2007 10:55 pm
by Klemen
Hi,

You obviously have problems with sessions, try like your host advised, place

Code: Select all

session_save_path("/home/users/web/<bucket>/<your_homedir>/cgi-bin/tmp");
in gbook.php just before

Code: Select all

session_start();
, line 46.

Do the same in print_sec_img.php

That should take care of it, just make sure it's really the correct path (btw: it can be found in phpinfo file as well).

When testing don't forget to close ALL your browser windows.

session_save_path

Posted: Mon May 14, 2007 11:05 pm
by Popparod
.....It Worked......!!!!

....Your a Life Saver....!!!!


...Thank You,Thank You,Thank You........!