Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

How To Create A PHP cookie

Share this post!
 Vote this!

What are cookies

 A cookie is a small text file saved by web server on the visitor computer. In internet you often see a check box with text "remember me in this computer" below a login form. The method it uses to remember the user is to set cookie to the user computer. When browser requests the login page again it also sends the previously saved cookie too. Server reads that cookie and directly logs you into your account. This is a very common example of use of cookie. You can use cookies for any purpose, such as you can use them to pass variables among the pages. But remember that do not use cookie to store any sensitive information like credit card number, etc, because they are stored in user computer, not in your secured database, understanding identity theft in the USA will help you avoid some common mistakes like that. more...


0 comments:

Post a Comment