Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

Express session cookies with coordova

  • I have two questions involving using express session cookies in a hybrid app.

    First of all, in the latest operating systems of phones and the latest version of coordova, will session variables work normally? Are cookies easily stored and retrieved on hybrid mobile apps? If not, what would be the best practice? Currently we are using session variables to keep the user logged in.

    Second of all, the reason it is not working right now for us(or at least one of the reasons), is that when we started developing, we were doing so just with google chrome and without monaca. We were using Jade as a template engine and it was very easy to access these session variables with #{} syntax. Do you know of an alternative way to access these req.session variables with html or angular without the Jade view engine? I’m thinking it wouldn’t be possible without another server route, but I’m not sure.