> > So, wherever you are now using request.args(0), you would instead >> reference something like session.nodeID. If session.nodeID doesn't exist, >> you then redirect to your router so it can be set. >> > > That's what I've been experimenting with the last couple of days, it works > fine for the single page views, however, nodes can have sites with multiple > views, and different nodes can be visited in more than one browser window. >
Different browser windows should share the same session (though not different browsers). > Is it possible to put these conditions in a separate function, and call > that function from every function that needs it? Something like: > Yes, I was going to suggest that. Anthony --