<%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/sqltaglib.tld" prefix="sql" %>
<HTML> 
<HEAD><TITLE>DML Sample</TITLE></HEAD>
<BODY BGCOLOR="#FFFFFF"> 
<FORM METHOD=post>
<input type="text" name="id" value="4000"><br>
<INPUT TYPE="submit" name="submit" VALUE="Set Cookie: cId"><br>
</FORM>
<% if( request.getParameter("id") != null ) {
%>
<P>
<sql:dbSetCookie name="cId" value='<%=request.getParameter("id")%>' maxAge='800000'/>
Cookie cId is set with value: <%= request.getParameter("id") %>
<br>
<% }
%>
</BODY> 
</HTML> 

