tumblr hit counter

Setting Cookies

Monday, October 14, 2013

We can use Meta Tag to store cookies on client side later information can be used by then Web Server to track a site visitor.
<head>
<meta http-equiv="cookie" content="userid=xyz; expires=Wednesday, 14-Oct-13 23:59:59 GMT; />
</head>
If we do not include the expiration date and time, the cookie is considered a session cookie and will be deleted when the user exits the browser.

Setting Author Name:
We can set an author name in a web page using Meta Tag. See an example below:
<head>
<meta name="author" content="Ahmad Bin Musa" />
</head>
If you do not include the expiration date and time, the cookie is considered a session cookie and will be deleted when the user exits the browser.


Page >> 1 2 3 4 5 6 7 8 9 10 11 12 13 14

No comments:

Post a Comment

 

Click Here to Start Learning

Get Update!

Join Us Now !
Enter your email address:

Note: Don't forget to click the confirmation link (in your email) to verify Your Entry!

LEARN WEB DESIGN