I am running a script, test.cgi, and attempting to start a php session using session_start()
the script is:
#!/usr/local/bin/php
<?
session_start();
(more code in here...)
?>
all i get is an error message:
Warning: Cannot send session cache limiter - headers already sent (\pathtofile\test.cgi:2) in \pathtofile\test.cgi line 3
The session handling works fine on the parts of the site running as .php files...
i have to run this script as a .cgi because of security restrictions imposed by the isp
other .cgi scripts run fine without the session_start()
i can't get the session to start though!
can anyone help? please?
thanks in advance
ed