<tr>
<td align="right">Rememmber me?</td>
<td>
<select name="selCookie">
<option value="0">Close</option>
<option value="1">1 Day</option>
<option value="30">1 Month</option>
<option value="365">1 Year</option>
</select>
</td>
If Request.Form("selCookie") <> 0 Then
Response.Cookies("UserInfo")("Password") = Request.Form("txtPassword")
Response.Cookies("UserInfo")("LastVisited") = Now
Response.Cookies("UserInfo").Expires = Date + Request.Form("selCookie")
End If