0

Sessions wont work on ipage, I know there are post like this all over internet but i did try all the answers and nothing seems to work i tried this..

session_save_path("your home directory path"/cgi-bin/tmp); 
session_start(); 

tried changing the value of session.save_path from php.ini

session.save_path = "N;/path" 

To this

session.save_path = "N;/tmp"

and this

session.save_handler = files

even tried this

session.save_path = "home directory path/cgi-bin/tmp"

Thank u

Edited by centenond

4
Contributors
4
Replies
23
Views
3 Years
Discussion Span
Last Post by Gaurav_20
1

try to keep h:/path
not semicolon put it as colon and restart apache service
Though I am not sure

1

N is the number of levels of subdirectory used.
"N;/temp" makes no sence.
3; /temp does, but is not necessary and not recommended, so do you reley need it?
see php#ini.session.save-path

Edited by pzuurveen

0

thanks guys, already figured out, i had to put
session_save_path("your home directory path"/cgi-bin/tmp);
session_start();
but i was putting /cgi-bin/tmp outside the "" xD

0

can you exactly specify where did you put it?? and what did i need to write in place of "your home directory path"

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.