Is it necessary to write session_start( ) in all the files that need the session?
Thanks in advance
yes.
but its a good idea to use a header include file for this type of thing. (but this is not always required🙂)