home *** CD-ROM | disk | FTP | other *** search
Wrap
<html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <title>Delete Cookie action</title> <meta name="generator" content="Adobe GoLive 5"> </head> <body bgcolor="white"> <center> <font size="6">DeleteCookie Action 1.0</font> <p>© 1999, Adobe Systems Incorporated<br> Alle Rechte vorbehalten.</p> <p>Skript: CÄdric MÄnard</p> <hr> </center> <csactionclass name="DeleteCookie" function="CSDeleteCookie" nsversion="3" ieversion="4"> <csactionparam name="nom" type="GLActionStringParam"></csactionparam> </csactionclass> <p> <script language="JavaScript1.2"><!-- // Script copyright 1999, Adobe Systems Incorporated. All rights reserved. function CSDeleteCookie(action) { var name=action[1] var value=action[2] var jours=-12000 path="/" domain=null var expdate = new Date (); expdate.setTime (expdate.getTime() + (jours * 60 * 60 * 1000)); SetCookie(name,value,expdate) } function SetCookie (name, value) { var argv = SetCookie.arguments; var argc = SetCookie.arguments.length; var expires = (argc > 2) ? argv[2] : null; var secure = (argc > 5) ? argv[5] : false; document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : ""); } // --> </script> </p> <table cool width="221" height="96" border="0" cellpadding="0" cellspacing="0" gridx="16" showgridx gridy="16" showgridy bgcolor="#eeeeee"> <tr height="1" cntrlrow> <td width="1" height="1"><spacer type="block" width="1" height="1"></td> <td width="4" height="1"><spacer type="block" width="4" height="1"></td> <td width="76" height="1"><spacer type="block" width="76" height="1"></td> <td width="140" height="1"><spacer type="block" width="140" height="1"></td> </tr> <tr height="6"> <td width="1" height="6"><spacer type="block" width="1" height="6"></td> <td width="4" height="6"><spacer type="block" width="4" height="6"></td> <td width="76" height="6"><spacer type="block" width="76" height="6"></td> <td width="140" height="6"><spacer type="block" width="140" height="6"></td> </tr> <tr height="3"> <td width="1" height="3"><spacer type="block" width="1" height="3"></td> <td width="4" height="3"><spacer type="block" width="4" height="3"></td> <td width="76" height="3"><spacer type="block" width="76" height="3"></td> <td width="140" height="27" colspan="1" rowspan="2" valign="top" align="left" xpos="80"> <csactioncntrl name="nom" x="80" y="6" width="136" height="17" alignx="scale" aligny="top"> </td> </tr> <tr height="24"> <td width="1" height="24"><spacer type="block" width="1" height="24"></td> <td width="4" height="24"><spacer type="block" width="4" height="24"></td> <td width="76" height="24" colspan="1" rowspan="1" valign="top" align="left" xpos="4"> <csactioncntrl type="InfoText" value="Cookie-Name:" x="4" y="9" width="73" height="14" alignx="left" aligny="top"> </td> </tr> <tr height="62"> <td width="1" height="62"><spacer type="block" width="1" height="62"></td> <td width="4" height="62"><spacer type="block" width="4" height="62"></td> <td width="216" height="62" colspan="2" rowspan="1" valign="top" align="left" xpos="4"> <csactioncntrl type="InfoText" value="Diese Aktion l÷scht ein gespeichertes Cookie. Geben Sie den Namen unten ein." x="4" y="33" width="212" height="29" alignx="scale" aligny="top"> </td> </tr> </table> </body> </html>