i give following example with the help of ruby language. which select the 'Book' when session[:some] contains string 'Book'
<select>
<option value="Book" <%= 'selected' if session[:some]=="Book" %>>Book</option>
<option value="Conference" <%= 'selected' if session[:some]=="Conference" %>>Conference</option>
<option value="Journal" <%= 'selected' if session[:some]=="Journal" %>>Journal</option>
<select>
In pure HTML
<select name="">
<option value="Book" 'selected'>Book</option>
<option value="Conference" >Conference</option>
<option value="Journal" >Journal</option>
<select>