Learn how to make a class to manage secure sessions on your PHP pages.
This is a very detailed tutorial about using PHP sessions. A session is like a variable that can transfer data between more pages.
You might have heard about cookies, but what exactly are they and what can we actually do with them? In this tutorial, we will focus on the basics of cookies, and learn about their functionality in various web application and site environments. We will also learn how to use them within our PHP and JavaScript projects, while paying particular attention to security issues that might arise when using them.
Sessions is a good way for storing temporary data between your pages. A session is usually closed pretty fast after that the user have left the site so as I said, it's good for temporary storage, an example is the user's name or items the user have put in his/her shopping cart.
Cookies is small text files saved locally on the user's computer by the website, when the website later on wants the information it just reads the cookie on the user's computer. An example on what you can use cookies for is to see if the user has visited the site before, if it has then a cookie you saved the last time lies on the computer so therefor you can only check if it does.
This is a common question we all get in most languages is how to make an Authentication system. I won’t blab on for hours talking about Authentication or how to achieve what I’ve created in this tutorial as I’m sure you’ll all be wanting to grab the code and get it working in your site.
We are developing a cool and simple login/registration system in a few easy to follow steps. You can download the complete source code and modify it to fit your own needs.
Want to know how to make a login in script that will remember your logged in. Even when you close your browser!
Want to know how to start making PHP login scripts. This will get you started.
In this tutorial we'll learn how to transmit data around your website,
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials.
Mind lending a hand?