3 ms·
In the arc version you can navigate to the same url in multiple tabs, and each of those tabs will work independently. In order to make that work you need, in ad
by ericlavigne 17y ago
In the arc version you can navigate to the same url in multiple tabs, and each of those tabs will work independently. In order to make that work you need, in addition to the per-user session, a per-page session.
It probably makes more sense if you look at an example. Take a look at the multicounter example for seaside:
http://seaside.st/about/examples/multicounter
Notice the automatically generated k parameter that appears in the URL when you press one of the ++ or -- links. That is the id string for the per-page session.
Scroll to the bottom of that page and you will see the code. I would love to code web pages like that. Compojure is not up to the challenge, and I don't think that weavejester is interested in changing that. Compojure is designed for REST applications, and we are talking about the polar opposite of REST.
Edit: Of course I also should have included seaside's answer to the arc challenge:
http://www.lukas-renggli.ch/blog/take-the-arc-challenge