[eluser]bapobap[/eluser]
Thanks for your reply.
That's fairly close to the method I was using (I didn't think to use sessions to store it though).
It is possible to use a different controller in my main controller?
So:
if browser // continue as normal
if iphone // use the special iphone controller
if mobile // use the light xhtml controller
etc
In the old app, if it detected an iPhone, you would get sent to /iphone/ and a whole separate set of code was coded to greet you. With this, I'd prefer it if CI did all the magic but I would like to use separate controllers (but not separate URLs), just to make my life easier.
Is this possible or even a good idea?
Thank again!