how to get _session functions to work under windows? I read from a book that PHP stores the sessions in /tmp -folder, but since I am using windows, I don't have that folder, I tried to create a new folder, and named it /tmp, into the directory where I put my website, but that didn't work. there were just error messages like:
Warning: session_start() [function.session-start]: open(/tmp\sess_21692a9107e9d41f54d76ab1f1cbca00, O_RDWR) failed: No such file or directory (2) in c:\public_html\login.php on line 37
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at c:\public_html\login.php:5) in c:\public_html\login.php on line 37
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at c:\public_html\login.php:5) in c:\public_html\login.php on line 37
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in c:\public_html\login.php on line 43
welcome to E-Mail Income,
Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
Warning: Unknown(): open(/tmp\sess_21692a9107e9d41f54d76ab1f1cbca00, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
so how to set it up correctly in windows? thanks...