Good Morning Group,
I know this is going to sound easy but, I want to store a users search preference. In a Dropdown. We have search fields, Plan Number, Plan Name, Plan type. You can search on any one of those. Most users like to use one or the other. What I want to do is store their like. So when they return to the page it automatically defaults to their preference. This has got to be an ez one but I cannot figure it out. I am not sure what to use to accomplish this. I have looked at cookies not quite sure cookies would work. Would I need to do this in a session variable. Code below.
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
<label>
<select name="mnuSearchField" id="mnuSearchField">
<option SELECTED>Plan #</option>
<option>Company Name</option>
<option>Plan Type</option>
<option>Plan Consultant</option>
</select>
</label>
</form>
</body>
</html>
I know this is going to sound easy but, I want to store a users search preference. In a Dropdown. We have search fields, Plan Number, Plan Name, Plan type. You can search on any one of those. Most users like to use one or the other. What I want to do is store their like. So when they return to the page it automatically defaults to their preference. This has got to be an ez one but I cannot figure it out. I am not sure what to use to accomplish this. I have looked at cookies not quite sure cookies would work. Would I need to do this in a session variable. Code below.
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
<label>
<select name="mnuSearchField" id="mnuSearchField">
<option SELECTED>Plan #</option>
<option>Company Name</option>
<option>Plan Type</option>
<option>Plan Consultant</option>
</select>
</label>
</form>
</body>
</html>