Hi,
First off thanks for all the help Ive received on here so far, it's been crucial & much appreciated.
I have been trying to get sessions to work both locally & in a test area of my website but with no luck. I have been advised by my webhost to do the following:
"create a custom php.ini file with the php values you need & place this in every directory that needs to use this. This file should have the following permissions: 644 permissions with the owner cpanelusername:cpanelusername. If we take your cpanel username to be bobbob1, your php.ini file should look like this in your file manager or ftp client: -rw-r--r-- 1 bobbob1 bobbob1 21 Nov 20 18:57 php.ini.
Once your php.ini file has been created you can populate with the php configuration values you need to override on the server"
I don't understand what this means. What I have done so far is copy the php.ini file from my C:\xampp\php dir into my site dir, changed session.save_path to "C:/windows/temp" & uploaded this up to my site in the same folder as my php session files but when I try to use the pages I am getting:
"
Warning: session_start() [function.session-start]: open(C:/windows/temp/sess_e8a16891fb05e598d0da9930af12d57b, O_RDWR) failed: No such file or directory (2) in /home/mydomain/public_html/testarea/sessions1.php"
Firstly I do have a C:/windows/temp folder but then I started thinking 'hang on maybe this is where the server thinks it should be looking on the server for the stored session info'. so my first question is what should I put here? C:/windows/temp ? or something like mydomain/myfolder
Secondly I don't know how to look for or change the php.ini file's permissions to 644 as instructed by my host. I use Dreamweaver & have never come across this.
For what it's worth I also got this message
"Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mydomain/public_html/testarea/sessions1.php:2) in /home/mydomain/public_html/testarea/sessions1.php on line 2"
but I don't think it's relevant to the main problem, maybe just a result of me refreshing the page or dodgy coding.
Anyway any help much appreciated, thanks a lot
Col