WDjoe Posted February 5, 2012 Share Posted February 5, 2012 Hi, I am implementing the login script in chapter 12 but I don't understand something and hope someone can give me an answer. Every time I enter my credentials into the login form and press "Login" it automatically transfers me to my index.php page. Can anyone help please? Thanks Link to comment Share on other sites More sharing options...
WDjoe Posted February 6, 2012 Author Share Posted February 6, 2012 I figured it out and would like to share my solution. I knew it had to be a sessions issue but all the "session_start()" was correctly placed on all my pages. But in Chapter 12 there is a mention that you can put the "session_start()" in the php.ini folder. That's what I did. Just make a folder and name it php.ini and inside it just place "session_start ()" (without the quotation marks). Everything now works as it should. :-) 1 Link to comment Share on other sites More sharing options...
Larry Posted February 6, 2012 Share Posted February 6, 2012 Kudos for figuring it out and thanks for sharing your solution. Link to comment Share on other sites More sharing options...
Recommended Posts