If you set Webhandler as Desktop then Ismobile is allways 0 (false)
I need, beeing in desktop mode, to know if the app is opened with a mobile device, a function like IsMobile something like OpenInMobile(), may be the same code used in IsMobile replicated in another function.
In the Login proc, may I call
p_web._SetMobile()
then set a session value
p_web.ssv('OpenInMobile',p_web.Ismobile())
and set it back to Desktop
p_web.Ismobile()=false
Then beeing in desktop mode, I can use the new session value to modify my forms/browses for mobile devices?