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

Recommended Answers

All 4 Replies

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

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

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.