Don't make store the information in the session, store it in a cookie. Or make it based on the domain they are accessing the site through m.yoursite.com uses the mobile layout, all others use the desktop layout.
<over-generalized-statement>Sessions are bad.</over-generalized-statement> On Thu, Nov 26, 2009 at 12:23 AM, stuartc <[email protected]> wrote: > Greetings everyone, > > I've been implementing CE on a rather large project, and I have > mobilized the template for mobile browsers as well as dektops (i just > added a method in the AppController), the before_filter just sets a > session variable that dictates if the views must be rendered with the > mobile templates or the desktop ones. > > Now there are 3 of us working on this app, all on the same network, > and our production server is offsite (so we all come through as the > same IP). If I use a Windows mobile device to access the app, first > time it works as expected. > > But then say I come from a desktop, sometimes it just renders the > mobile template, or thinks I'm continuing a session. > > Any advice how to get around this? > > -- > > You received this message because you are subscribed to the Google Groups > "CommunityEngine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/communityengine?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/communityengine?hl=en.
