MBA 683 E-Business Technology --

cookie-1.adp
Home    Site Map    Search    EhrlichOrg.com

Syllabus    Classes    References  Examples  Student Info    Guest Info

 

<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>

 

© 2001 by Chuck Ehrlich, all rights reserved.  Comments to webmaster.  Updated on October 10, 2000.