Invoke a Javascript function - onClick=setCookie(...)

Which does something like:

<SCRIPT LANGUAGE=JAVASCRIPT>
function setCookie(name, value, expire) {
   document.cookie = name + "=" + escape(value)
   + ((expire == null) ? "" : ("; expires=" + expire.toGMTString()))
}
</SCRIPT>


For more info you may try;

http://home.netscape.com/newsref/std/cookie_spec.html


Regards,

Aby


> -----Original Message-----
> From: Ankur Kumar Saxena [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, April 19, 1999 10:45 PM
> To:   [EMAIL PROTECTED]
> Subject:      [ND] Cookies
> 
> Hi
> 
> Does anybody know how to set a cookie on the client machine on  a button
> event
> in ND4.
> 
> Thanx & Regards
> --
> Ankur Kumar Saxena
> ______________________________________________________
> NetAcross Ltd.
> Are You Across Yet?
> http://www.netacross.com
> http://unison.netacross.com
> 
> 
> _________________________________________________________________________
> 
> For help in using, subscribing, and unsubscribing to the discussion
> forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
> 
> For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to