freelance84 Posted April 22, 2010 Share Posted April 22, 2010 Getting conflicting advice from a few different sources at the moment. A so far very solid book only shows how to use the "$_SESSION", but a few websites I've been on show tutorials with "session_register". Which should I use? pro's and con's? N.B. I am creating a website which when registered to requires a username and password to get in. Quote Link to comment Share on other sites More sharing options...
oni-kun Posted April 22, 2010 Share Posted April 22, 2010 session_register has been deprecated for almost nine years. You can decide from there on. Quote Link to comment Share on other sites More sharing options...
freelance84 Posted April 22, 2010 Author Share Posted April 22, 2010 ha! did not know that! thanks! Quote Link to comment Share on other sites More sharing options...
etnastyles Posted April 22, 2010 Share Posted April 22, 2010 uses session_start then set your session params - not session_register if you look at php.net it tells you that this methed has been stopped Quote Link to comment Share on other sites More sharing options...
freelance84 Posted April 22, 2010 Author Share Posted April 22, 2010 yup that's exactly what the book i'm learning from tells me to do too. cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.