Cookies

From Calliespedia
Jump to: navigation, search

A cookie is a file no more than 4K stored with your web browser and are only available to the domain that set that particular cookie.

Set a cookie

<?php setcookie ("username", "dave", time()+3600); ?>
  • Time is set in seconds.