Re: Last accessed page
Thomas Vandahl <[email protected]> Sat, 31 Mar 2012 18:10:01 +0200
| Newsgroups | gmane.comp.jakarta.turbine.user |
|---|---|
| Message-ID | <[email protected]> |
Am 29.03.2012 12:26, schrieb SzĹącs Attila: > Hi, > > basically I would like to know from which page does a request come from. Is there a way to get for instance the last accessed page. Does Turbine store information about last served page? > data.getRequest().getRequestURL() is not good for this purpose because in some cases I set the screen using the RunData object and that does not change the Screen name in the URL. > Is that something I need to check in my application server? > > Thanks, > Atti > Do you have a session available, IOW a logged in user? I'd store the current template in a session variable at the end of the request. Bye Thomas.