Categories
Where is the right place to call session_start()?
Is it right to just call this function at the very beginning of index.php? While not all users are authorized.
Answer the question
In order to leave comments, you need to log in
Does the session only include authorization? If yes, then in the authorization file it is possible. If, before authorization, there are some other actions, then in the index
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question