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? Link to comment https://forums.phpfreaks.com/topic/101744-putting-query-results-in-session-variable-better/ Share on other sites More sharing options...
xiao Posted April 18, 2008 Author Share Posted April 18, 2008 *bump* Link to comment https://forums.phpfreaks.com/topic/101744-putting-query-results-in-session-variable-better/#findComment-520674 Share on other sites More sharing options...
xiao Posted April 19, 2008 Author Share Posted April 19, 2008 *bump* Link to comment https://forums.phpfreaks.com/topic/101744-putting-query-results-in-session-variable-better/#findComment-521079 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? Link to comment https://forums.phpfreaks.com/topic/101744-putting-query-results-in-session-variable-better/#findComment-521096 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. Link to comment https://forums.phpfreaks.com/topic/101744-putting-query-results-in-session-variable-better/#findComment-521138 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.