![]() |
choosing layout - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: choosing layout (/showthread.php?tid=61257) |
choosing layout - Tecvid - 04-05-2015 well, i have both web & mobile layouts, and i wanna check whether is user on web or mobile, i did it, there was no problem, but, if user decided to view mobile version on desktop for example, i should check before if user changed the layout, so when he change, i should save somewhere anything which denotes it, now, where it is better to save in codeigniter? session, cookie, or any other way? which is the best? RE: choosing layout - kilishan - 04-05-2015 It's not sensitive information, so either a session or a cookie would work fine. |