Welcome Guest, Not a member yet? Register   Sign In
choosing layout
#1
Shocked 

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?
Reply
#2

It's not sensitive information, so either a session or a cookie would work fine.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB