Results 1 to 2 of 2

Thread: Ext.ux.state.WindowNameProvider a (session) cookie alternative

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ext JS Premium Member devtig's Avatar
    Join Date
    Jan 2010
    Rotterdam, The Netherlands
    Vote Rating

    Default Ext.ux.state.WindowNameProvider a (session) cookie alternative

    You're wondering why your cross-domain iframed web app using cookies works everywhere, except in Safari? By default Safari only allows cookies from sites you navigate to directly. So, you're out of luck with using cookies this time, but fear not.

    You've probably already read about the alternative to cookies. Whatever string page a.html sets in, page b.html can read and update. Cross domain and as long as the tab stays open. A few small libraries for using have been written already, but none specifically for Ext JS.

    Here's an Ext JS 4 state provider implementation that saves and retrieves state as JSON in Because everybody likes this implementation allows your own namespace in

    UPDATE: Download the code from the repository on Github.
    Last edited by devtig; 17 Feb 2017 at 11:30 AM. Reason: link to demo
    Christiaan Westerbeek @ Devotis
    Contact me for help with Ext JS, Node JS, FireBase, AngularJS and Javascript in general. Email me or find me at AirPair to connect.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts