Codeigniter Session database

WarrenT

New Member
I am trying to build a system the remembers the user's interactions with a website, for example my site allows the users to build their own navigation system, but I want the system to be able to remember the navigation's system they choose without the user having to sign up, I assume I need to use sessions/cookies for these, and further I would assume I would need to use cookies as they don't expire when the browser closes (I know they expire after a period of time). So I have set up using the codeigniter session library and have the session ids saving to the database. What I need to know is how can using sessions and cookies save the user navigation choice, for example if the user chooses to user the blog navigation then I need to be able save that so next time they come to the site, the blog navigation is used. Could someone please point me in the right direction? Please don't point me at the manual. I have tried the cookie helper and whatever I try, the cookie will not set.
 
Back
Top