|
<html>
<head>
<title>Cookie 1 Example</title>
</head>
<body>
It is now <%= [ns_fmttime [ns_time] "%A, %B %e, %Y at %r" ] %><p><hr><p>
<%
set_the_usual_form_variables
ns_adp_puts "Cookie Name: '$cname'<br>Cookie Value: '$cvalue'<p>"
ad_set_cookie $cname $cvalue
ns_adp_puts "Cookie created<p>"
%>
<form method=get action="cookie.adp">
<input type=submit value="Display Cookies">
</form>
<hr></body></html>
|