WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

Last accessed page

View: New views
2 Messages — Rating Filter:   Alert me  

Last accessed page

by Szűcs Attila :: Rate this Message:

| View Threaded | Show Only this Message

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

Re: Last accessed page

by Thomas Vandahl-2 :: Rate this Message:

| View Threaded | Show Only this Message

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.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...