Session Help |
[eluser]ShawnMA[/eluser]
I realize this is a belabored topic, but being new to CI, I've read thru most of the docs, but I must be overlooking something when it comes to correctly setting/getting sessions. I've followed the configurations found in this post and can confirm that FF is storing a cookie: http://ellislab.com/forums/viewthread/178904/ The way my app is set up, users select values from 2 dropdowns, those values are then put into session variables and a new view is called. From within the new view I need to be able to access the session variables and pass them along to query my db. As it currently stands, when I view the query, no session values are being sent to it. All assistance is greatly appreciated! Thanks! **EDITED: My session variables are not being set when I call, $this->session->set_userdata($searchData); - Any thoughts? *** Here's my code for setting: Code: public function goSearch(){ Here's my function for getting to pass to the query: Quote:public function readEvents(){Here's my query in my model: Code: public function getSearchEvents($eventTypeID, $venueCityID){ |
Welcome Guest, Not a member yet? Register Sign In |