billshackle Posted July 16, 2006 Share Posted July 16, 2006 Hey, I am 75% the way through a little web app, this is my first time i've ever tried to write something from scratch and it going pretty well, but i am wondering how i come up with the login system, e.g. I want each user to have there own setting and information stored in the app. it works write now as it is just raw code on a server, but i want to be able to create (sessions i think they are called) so 100 different people can store 100 different tid bits of information. Obviouslly i dont expect a tutorial published here, but if anyone has any resources, like i say i dont even know really what to search for, thanks Quote Link to comment https://forums.phpfreaks.com/topic/14797-login-systems/ Share on other sites More sharing options...
pixy Posted July 16, 2006 Share Posted July 16, 2006 PHP Freaks has a user-log in system tutorial. There's also a really great one at www.daydreamgraphics.com in the PHP tutorials section.As for sessions, there are also PHP Freaks tutorials on sessions. The essence is, sessions (unlike cookies) store information from a database in the session, instead of cookies which store an actual value. Sessions are generally more secure, as the information is never actually store on the user's computer.Be sure to read the sticky about headers in this forum, because if you don't use the start_session(); function before sending information to the browser you will get "headers already sent" errors. Quote Link to comment https://forums.phpfreaks.com/topic/14797-login-systems/#findComment-59095 Share on other sites More sharing options...
Dville Posted July 16, 2006 Share Posted July 16, 2006 I used cookies for my login system. about.com was where I got some snippets for it from. Quote Link to comment https://forums.phpfreaks.com/topic/14797-login-systems/#findComment-59109 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.