View Full Version : newbie need help

05-14-2012, 03:16 PM

I'm new to this forum. I have a question about session variables.

I have a dropdown menu with english and german to select. Now if this is changed I would like to set a session variable to 1 or 2.

how can I do that?

Thanks for your Help.

Best regards

Old Pedant
05-15-2012, 05:13 AM
First page:

<form action="secondPage.asp">
<select name="language">
<option value="1">English</option>
<option value="2">German</option>
....other fields in the form ...
<input type="submit" ... />


Session("languageNumber") = Request("language")