Path: csiph.com!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Problem with tomcat 6.0.32 Date: Sat, 08 Sep 2012 20:36:30 -0700 Organization: A noiseless patient Spider Lines: 22 Message-ID: References: <5f8ee108-bcec-4f96-ac86-d49e548b204a@googlegroups.com> <504bffef$0$291$14726298@news.sunsite.dk> <504c0c21$0$295$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 9 Sep 2012 03:36:32 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="31115"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19k2Gs4/VHJkh224BiWzOrFY/1n2twm6KM=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 In-Reply-To: <504c0c21$0$295$14726298@news.sunsite.dk> Cancel-Lock: sha1:IsbXS5zPtstx+PUT2WY2oIeEdCA= Xref: csiph.com comp.lang.java.programmer:18620 On 9/8/2012 8:25 PM, Arne Vajhøj wrote: > On 9/8/2012 11:22 PM, markspace wrote: >> On 9/8/2012 7:33 PM, Arne Vajhøj wrote: >> >>> action="<%=response.encodeURL("CheckLogin")%>" >>> >>> to work with cookies disabled. >>> >>> Something that is often forgotten today. >> >> Huh, I must be missing something. "CheckLogin" is a hard-coded string >> that plainly needs no encoding. What is it that I don't see? > > That encodeURL adds the session id to the URL if the browser > does not support cookies (or if it is unknown whether it support > cookies). Ah right, I knew that, but I haven't used JSPs in so long I'd forgotten it. Thanks!