Wednesday 21 April 2010

How can session start without writing SESSION_START() on top of the page?

Yes, you can start session without writing SESSION_START() on top of the page.
Just go to the php.ini file and search session.auto_start.

You will see like this

session.auto_start = 0

write 1 instead of 0 and restart the server.

Cheers!

3 comments: