wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Marshall <IanMarshall...@GMail.com>
Subject Re: How to write an HTTP header (to detect cookie disablement)?
Date Thu, 23 Feb 2012 10:48:20 GMT
Hi Martin,

Many thanks for your explanation and tip!

Regards,

Ian


Martin Grigorov-4 wrote
> Hi,
> 
> Headers are not cookies.
> By setting a header in the response you should not expect that it will
> come in the next request.
> 
> A request header is set by the client (the browser in this case). You
> can use UrlConnection or Apache HttpClient to set header request
> which will be available thru WebRequest.getHeader().
> 
> Cookies work as you want - set it once in the response and then it
> will travel around in the next requests/responses until expire.
> 

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-write-an-HTTP-header-to-detect-cookie-disablement-tp4397827p4413526.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message