Re: Get referer url

2010-12-08 Thread Andreas Andreou
that's the only way but it's not bulletproof.
Perhaps links to your app could require an extra parameter
that would identify the source

On Wed, Dec 8, 2010 at 11:44, Gnu Ubuntu  wrote:
> Hi,
> In my app I'm redirected to an external url, and after I need to return to
> my app. I'm looking for a way to store the referer url before exiting my app
> to return to.
> For now, I'm using :
> String referer = request.getHeader("referer");
> But it's not safe to referer to this browser information.
>
> Do you know an other way to get previous url please?
>
> Thanks in advance.
>



-- 
Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr
Tapestry PMC / Tacos developer
Open Source / JEE Consulting

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Get referer url

2010-12-08 Thread Gnu Ubuntu
Hi,
In my app I'm redirected to an external url, and after I need to return to
my app. I'm looking for a way to store the referer url before exiting my app
to return to.
For now, I'm using :
String referer = request.getHeader("referer");
But it's not safe to referer to this browser information.

Do you know an other way to get previous url please?

Thanks in advance.