You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ayodeji Aladejebi <al...@gmail.com> on 2010/09/22 06:13:14 UTC

Removing jsessionid from URl

Hi,

I have been tryin to figure out what to do to remove jsessionid from the URL

I have mount(new QueryStringUrlCodingStrategy("/home", AppHomePage.class));

All my links are BookmarkablePageLinks.

am using wicket 1.4.8 on Apache Tomcat/6.0.29

Re: Removing jsessionid from URl

Posted by Vojtěch Krása <vo...@gmail.com>.
Hi,

check this http://markmail.org/thread/u42f6idu2hsdulom


2010/9/22 Ayodeji Aladejebi <al...@gmail.com>

> Hi,
>
> I have been tryin to figure out what to do to remove jsessionid from the
> URL
>
> I have mount(new QueryStringUrlCodingStrategy("/home", AppHomePage.class));
>
> All my links are BookmarkablePageLinks.
>
> am using wicket 1.4.8 on Apache Tomcat/6.0.29
>



-- 
S pozdravem
Vojtěch Krása

SV: Removing jsessionid from URl

Posted by Wilhelmsen Tor Iver <To...@arrive.no>.
> is it because a user disables cookies in the browser?

Yes, in that case the rewritten URLs are needed to maintain session state.

- Tor Iver

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


Re: Removing jsessionid from URl

Posted by Ayodeji Aladejebi <al...@gmail.com>.
is it because a user disables cookies in the browser?

On Wed, Sep 22, 2010 at 7:35 AM, Wilhelmsen Tor Iver <To...@arrive.no>wrote:

> > I have been tryin to figure out what to do to remove jsessionid from
> > the URL
>
> The web container will add that to the first response URL when a session is
> created in case cookies are not supported. What is corny is that this is not
> further maintained (in a non-cookie situation) without the developer
> explicitly calling ServletResponse.encodeURL() for all URLs - the container
> should maintain the responsibility for you.
>
> - Tor Iver
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Aladejebi Ayodeji A.,
DabarObjects Solutions
Phone: +234 9 875 1763
Mobile: +234 803 589 1780
Email: deji@dabarobjects.com
Web: www.dabarobjects.com

SV: Removing jsessionid from URl

Posted by Wilhelmsen Tor Iver <To...@arrive.no>.
> I have been tryin to figure out what to do to remove jsessionid from
> the URL

The web container will add that to the first response URL when a session is created in case cookies are not supported. What is corny is that this is not further maintained (in a non-cookie situation) without the developer explicitly calling ServletResponse.encodeURL() for all URLs - the container should maintain the responsibility for you.

- Tor Iver

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


Re: Removing jsessionid from URl

Posted by Jeremy Thomerson <je...@wickettraining.com>.
On Tue, Sep 21, 2010 at 11:13 PM, Ayodeji Aladejebi <al...@gmail.com>wrote:

> Hi,
>
> I have been tryin to figure out what to do to remove jsessionid from the
> URL
>
> I have mount(new QueryStringUrlCodingStrategy("/home", AppHomePage.class));
>
> All my links are BookmarkablePageLinks.
>
> am using wicket 1.4.8 on Apache Tomcat/6.0.29
>

Search the list.  This has been covered a bajillion times.  This is a
feature of the servlet container, not Wicket.

-- 
Jeremy Thomerson
http://www.wickettraining.com