tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Harner <bobhar...@gmail.com>
Subject Re: How to redirect a url with cookie value
Date Mon, 20 Feb 2017 12:40:38 GMT
I'm pretty sure cookie headers work fine in modern browsers (see
http://stackoverflow.com/questions/4694089/sending-browser-cookies-during-a-302-redirect),
but you won't be able to specify the cookie value in the URL like your
example. You'll have to set the Cookie header yourself.

On Feb 20, 2017 7:21 AM, "Thiago H. de Paula Figueiredo" <thiagohp@gmail.com>
wrote:

On Mon, Feb 20, 2017 at 7:53 AM, Anbazhagan.G <anbazhagan.g@snovabits.net>
wrote:

> Hi All,
>

Hi!


> Is it possible to redirect a url with cookie value?.. like.......
> http://www.test.com/app1/test;JSESSIONID_app1=jklasjfads


I don't think that's possible if you're redirecting to a different domain
due to constraints in HTTP. If you're just redirecting within the same
webapp, just use the Cookies services normally and then redirect using the
usual Tapestry ways of doing that (
http://tapestry.apache.org/page-navigation.html) and it should just work.


>
>
> --
> Best Regards,
> Anbazhagan.G
> S-Novabits Software ℗ Limited,
> 1st Floor, SusiSummi IT Park,
> 290, 4th Main Road, Burma Colony,
> Perungudi Industrial Estate,
> CHENNAI - 600 096, INDIA
> Email: anbazhagan.g@snovabits.com
> Web: www.snovabits.com
> Phone: +91-44-24960543
>
> ***************Disclaimer***************
>
> This message is confidential, for the exclusive use of the intended
> recipient and may contain privileged information. If you are not the
> intended recipient, retention, dissemination, distribution, copying or
> otherwise making use of this message is strictly prohibited. Please be
kind
> enough to notify the sender immediately by e-mail if you have received
this
> message by mistake, and delete it from your system. E-mails may be
> intercepted, altered or read by un-authorized persons. If you send us
> messages by e-mail, we take this as your authorization to correspond with
> you by e-mail. Thank you very much.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


--
Thiago

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message