Sessions and Cookies PHP Tutorials

Cookies are great little tools. These little bits of text can make your development life much easier if you use them properly. Sessions are like cookies on steroids. Using sessions, you can maintain user-specific information without setting multiple cookies, or even using a database. You'll learn how to: set a cookie, extract data from a cookie, amend your user authentication routines to use a cookie, start a session, add a variable to the SESSION superglobal, enable a per-user access count and maintain user preferences throughout multiple pages
Home » PHP » Sessions and Cookies (40 Tutorials)
How to use Cookies
How to use Cookies tutorial
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.
Accept Coupon Codes for Downloads
Accept Coupon Codes for Downloads tutorial
PHP - This is a basic script to allow downloads of .zip files using a coupon code and redirecting the user to the download file using another download script --(Not a Secure Method)--.
Rss count as pure text
Rss count as pure text tutorial
Learn how to display your rss count as pure text, instead of the feedburner image.
Php counter with cookies
Php counter with cookies tutorial
Make php counter using mysql database and cookies.
Session Overview
Session Overview tutorial
When User visit your website, a web session has been created. PHP Session Management Allow you to track/manipulate User Data during this web session.
Cookies
Cookies tutorial
A cookie is a message given to a Web browser by a Web server. The browser stores the message in a small text file that the server embeds on the user's computer. Each time the same computer requests a page with a browser, the cookie is sent back to the server too. There are a wide variety of things you can do with cookies. They are used to store information about user, visited pages, poll results and etc.
Saving Session data on a database
Saving Session data on a database tutorial
Unless you store your sessions in a database your web application cannot be load balanced across multiple servers.
Session
Session tutorial
The first time a user accesses to a our pages some connections and disconnections took place. During this process the server and the client will interchange information to identify each other. Due to this exchange of information our server will be able to identify a specific user and this information may be use to assign specific information to each specific client. This relationship between computers is call a session. During the time a session is active, it is possible to assign information to a specific client by using Session related commands.
Saving Sessions in a File
Saving Sessions in a File tutorial
How to save session information from one session to another.
Sessions
Sessions tutorial
Sessions are a method storing and tracking data.
Cookies
Cookies tutorial
Do you know how to make a decent batch of cookies?
PHP Cookies
PHP Cookies tutorial
Learn all you need to know about cookies in PHP.
Sessions in PHP
Sessions in PHP tutorial
This tutorial will try to explain what "sessions" are, what they're good for and how you can use them.
Introduction To Cookies
Introduction To Cookies tutorial
A collection of information, usually including a username and the current date and time, stored on the local computer of a person using the World Wide Web, used chiefly by websites to identify users who have previously registered or visited the site.Cookies basically store information on a user, you must have seen those 'Remember Me' buttons on login forms, these forms set cookies on your hard drive with your username and password inside them (or any other information specified).
Cookies / Remember Me
Cookies / Remember Me tutorial
You may have seen on some sites they have login forms with a checkbox underneath saying 'Remember Me' and when ticked it does something magic ... when you go back to the page it does remember you ... but how? Easy!
Writing And Reading Multiple Cookies
Writing And Reading Multiple Cookies tutorial
This tutorial shows you how to set multiple cookies. Setting multiple cookies can come in handy if you wish to store more than one piece of information about a user, such as Username & Password.
Stylesheet Switcher v.2 (The Cookie Generation)
Stylesheet Switcher v.2 (The Cookie Generation) tutorial
His version features a few more colour schemes aswell as using cookies to store a users choice of theme. The script grabs the cookies and reads which theme the user has chosen and switches the stylesheet instantly.
Sessions & Cookies
Sessions & Cookies tutorial
Sessions and cookies. What are they? Smoking marijuana and eating biscuits? Hell no - in the web development world they are very important functions of interactive design! The difference between sessions and cookies, though, basically revolves around where the variables are stored.
PHP and Cookies
PHP and Cookies tutorial
Cookies have long been used in PHP scripts, and are a very useful function. But what exactly are cookies? Maybe you have used then, but you still don't know exactly what they are. Or you are completely new to cookies? It doesn't matter, because in this tutorial I will show you exactly what cookies are, and what they are used for.
Password Protection with PHP, MySQL, and Session Variables
Password Protection with PHP, MySQL, and Session Variables tutorial
Learn how to implement password protection using PHP, MySQL and session variables.
Home » PHP » Sessions and Cookies (40 Tutorials)
 
Subcategories
 
Categories
 
Advertisement