PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\apache\session-test-page1.php:17) in C:\Program Files\Apache Group\apache\session-test-page1.php on line 30
Even though you see the information above, the session has already been terminated. Refresh the page and you will see nothing as the page sets the session vars again.
Click here for page 2
Click here to clear the session data
The warning comes from the setcookie function because of sent headers.
I have spotted six differences. The last two are not very involved in what we were discussing as far as I know but I decided to post everything.
Mine:
session.save_path = "C:/PHP/tmp"//Where do you save them or is it necessary?
session.cookie_path = "C:/PHP/tmp"//Where do you save them?
session.bug_compat_42 = 1//I am nt very familiar with this
session.bug_compat_warn = 1//With this too.
session.hash_bits_per_character = 4
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
Quite honestly I am not entirely certain of what those values do. I'd bet there is information on the sessions page of the manual though. I am just glad you got it working.