I am writing a script that other people should use on their servers. It uses passwords and sessions for security.
Session_start() returns true and I can set and retrieve session_variables when the session directory is write protected. The problem only start when I redirect with a "header: location" to another page. So I am puzzled how I can detect the problem while I still am inside the login page.