faqts : Computers : Programming : Languages : Asp : ASP/VBScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

11 of 33 people (33%) answered Yes
Recently 2 of 10 people (20%) answered Yes


How do i set Session("x")= optionvalue when a value is selected from listbox

Sep 4th, 2002 13:53
Robin Paardekam, Ram Yarlagadda, http://www.paardekam.nl

It sounds like you want to activate the session immediately after 
selecting a certain value from the select-box. In that case you should 
handle it client-sided (for example by using JavaScript). Otherwise you 
should post the form and then call code like this:
Session("x") = trim(request.form("selectionboxname"))
Hope this helped you a little.
Good luck,
Robin Paardekam

© 1999-2004 Synop Pty Ltd