Hi all,
I am trying to pass some variables across pages by session method.like:
session_start();
..
session_register("sUserName");
...
it gives these errors:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/domains/web-
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/domains/web-
I searched the forum and saw there are others having the same problem.
And it is clearly explained in that replies that i need to define my storage files or edit php.ini file.(i don't know where)
Also i saw a method to define the path like:
session.save_path = c:\php\sessiondata
i tried this but did not work because i am working on a remote server.
What can i do?
Where is this php.ini file?
thanks a lot.
I am trying to pass some variables across pages by session method.like:
session_start();
..
session_register("sUserName");
...
it gives these errors:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/domains/web-
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/domains/web-
I searched the forum and saw there are others having the same problem.
And it is clearly explained in that replies that i need to define my storage files or edit php.ini file.(i don't know where)
Also i saw a method to define the path like:
session.save_path = c:\php\sessiondata
i tried this but did not work because i am working on a remote server.
What can i do?
Where is this php.ini file?
thanks a lot.