<META http-equiv set-cookie>

Description Attributes Examples

Description:

Sets the name and value for a persistent cookie.

Attributes:

<meta http-equiv="Set-Cookie" content="value=n;expires=date; path=url">
Value is the name of the cookie and n is the value to be set into the cookie. Date is the date and time on which the cookie will be deleted from the users computer.

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.

Examples:

<META HTTP-EQUIV="Set-Cookie" 
CONTENT="feedme=1;expires=Wednesday, 08-Aug-00 23:59:59 GMT; path=/">

Define the cookie "feedme" and set the value to 1. Expire the cookie on the indicated date.

 

Internet Tips Contents
404 Errors Advertising Autoresponse Awardmaster Basics Browsers Careers Chatting Disasters Domains Email Emoticons Ezines Free Stuff Fun Stuff FTP Graphics Homepages HTML Reference HTML Tutorial Interactive Legal Links Msg Boards Microsoft Money Multimedia Networks Newsgroups Newsletter Products RFC's Ringmaster Searches Security Sticky Sites Surfing TANSTAAFL Telnet Viral Webmaster Your System