Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: newbie need help
05-14-2012, 02:16 PM #1
- Join Date
- May 2012
- Thanked 0 Times in 0 Posts
newbie need help
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.
05-15-2012, 04:13 AM #2
secondPage.asp:Code:<form action="secondPage.asp"> <select name="language"> <option value="1">English</option> <option value="2">German</option> </select> ....other fields in the form ... <input type="submit" ... /> </form>
Code:<% Session("languageNumber") = Request("language") %> ...
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.