Friday 19 April 2013

PHP Sessions


PHP Sessions.
Variable used to store session in forms of user, and allow the user to access features that allow only for the registered user, session forms usually used to make a login function.

Session variables.
When you work on a computer application then you can recognize that you are the user of the computer you are currently using, in contrast to TPI server. Because the server is not able to automatically detect the user who has registered as HTTP basically visitors from various countries.

Thus the working session by creating a unique ID for each visitor premises sends UID, and the UID will be stored in a cookie or sent via url.

Start the session.
note: The function of the session should be located at the top and should be above the tag <thml>
<? php session_start ();?>
<html>
<body>
</ body>
</ thml>

No comments:

Post a Comment