Jump to content

Recommended Posts

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
Link to comment
https://forums.phpfreaks.com/topic/14797-login-systems/
Share on other sites

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.
Link to comment
https://forums.phpfreaks.com/topic/14797-login-systems/#findComment-59095
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.