I am going to try this one’s code for mobile browser detection:
[color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]This article [/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]explains[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]very well how to[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]detect[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]mobile browsers[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color].
Your link talks about switching to a different theme but nothing on detecting mobile browsers?
Anyways, I turned my used method into an extension: http://www.yiiframework.com/extension/detectmobilebrowser/
Session lose only @mobile devices:
hi, im facing an issue when im taking my app in mobile device ie losing session.i have a login feature in app that works fine but after login all of my session values are disappeared.no idea why.
Which mobile device and which browser? How exactly does your ‘login feature’ work? Does it overwrite session variables?
I like this approach:
Hello community am looking for a way where when my application is loaded on a mobile device to redirect the user to a certain page eg search page and not the normal index page.Which is the best approach?