I'm trying hard to finish off a web/REST application and I'm left with one intriguing question. The web side of the application has a nag screen that is presented as soon as a user logs on, to remind them that some of their projects contain stale files, if that's the case. If there are no stale files, the first web page presented is the project listing page.
For RESTful access, I'd like to be able to skip the nag page and go straight to the project page, but the way I've built this application, I determine whether it's a web or REST (output either HTML or XML) at the beginning of the request. That just decides which web/templates sub-directory is used -- otherwise the application code is the same. So I'm trying to avoid getting the nag page during RESTful access, without looking at what the web/REST setting is.
I think I may have to cheat and look anyway, but it's something I'd prefer not to do. THoughts?
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds