xiao Posted April 18, 2008 Share Posted April 18, 2008 I have a form with quite some drop down lists. Everytime a drop down changes, the form is submitted again. All other lists depend on previously selected options. Is it better to put query results in session variables or to redo the query everytime? And is it even possible to put them in session variables? Quote Link to comment Share on other sites More sharing options...
xiao Posted April 18, 2008 Author Share Posted April 18, 2008 *bump* Quote Link to comment Share on other sites More sharing options...
xiao Posted April 19, 2008 Author Share Posted April 19, 2008 *bump* Quote Link to comment Share on other sites More sharing options...
play_ Posted April 19, 2008 Share Posted April 19, 2008 It is possible. But less secure, and, what if the information in the db changes? Quote Link to comment Share on other sites More sharing options...
xiao Posted April 19, 2008 Author Share Posted April 19, 2008 How is it less secure? And does it improve performance? The database information only changes 2 times a day, so that's not a big problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.