store search conditions in session