Re: How to write an HTTP header (to detect cookie disablement)?

2012-02-23 Thread Ian Marshall
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.

Re: How to write an HTTP header (to detect cookie disablement)?

2012-02-22 Thread Martin Grigorov
nse) then it will be written to the browser. You can verify >> that by investigating the request in Firebug's Net panel. >> >> If you want to send a cookie you should either use #addCookie() or >> set/addHeader("Set-Cookie"). Check in google for more info. >

Re: How to write an HTTP header (to detect cookie disablement)?

2012-02-22 Thread Ian Marshall
#addCookie() or > set/addHeader("Set-Cookie"). Check in google for more info. > So you set the cookie in the current response and if not expired it > should be available in the next *request* (HttpServletRequest or > Wicket's WebRequest). > -- View this message in context

Re: How to write an HTTP header (to detect cookie disablement)?

2012-02-21 Thread Martin Grigorov
> following >>> code in my "About us" page. >>> >>>    public PageAbout() >>>    { >>>      super(); >>> >>>      Form frmForm = new Form("frmForm") >>>      { >>>        private static final long serialVersionUID = 1L; >>>

Re: How to write an HTTP header (to detect cookie disablement)?

2012-02-21 Thread Ian Marshall
;>protected void onSubmit() >>{ >> setResponsePage(PageHome.class); >> >> WebResponse wrResponse = (WebResponse)getResponse(); >> wrResponse.addHeader("X-MyApp-NotFirstPageBase-1", "true"); >>

Re: How to write an HTTP header (to detect cookie disablement)?

2012-02-17 Thread Jeff Schneller
); > wrResponse.setHeader("X-MyApp-NotFirstPageBase-2", "true"); > } > }; > add(frmForm); > > ... >} > > Again no such header appeared. > > Can anyone see what I am doing wrong? > > Regards, > > Ian Marsha

How to write an HTTP header (to detect cookie disablement)?

2012-02-17 Thread Ian Marshall
}; add(frmForm); ... } Again no such header appeared. Can anyone see what I am doing wrong? Regards, Ian Marshall -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-write-an-HTTP-header-to