July 28th, 2000, 05:39 AM
I have php4 installed and when i type in phpinfo();, it shows me all the details of my computer. I have sessions enabled. But when i try to run a page using sessions. I get an error message. The script that i used was from the site and was something like this:
Hello visitor, you have seen this page <? echo $count; ?> times.<p>
Can anyone tell why i get this error even after having session enabled.
Thanks in advance,
July 28th, 2000, 07:00 AM
<<Can anyone tell why i get this error even after having session enabled.
You will have to use session_start() before register it..
Before getting the session value agian you should use session_start()
i hope this will help you to solve your problem.
"The fear of the LORD is the beginning of knowledge..."
[This message has been edited by Shiju Rajan (edited July 28, 2000).]