Discussion:
Removing jsessionid from URl
Ayodeji Aladejebi
2010-09-22 04:13:14 UTC
Permalink
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
Jeremy Thomerson
2010-09-22 05:09:03 UTC
Permalink
Post by Ayodeji Aladejebi
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
Wilhelmsen Tor Iver
2010-09-22 06:35:19 UTC
Permalink
Post by Ayodeji Aladejebi
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-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org
Ayodeji Aladejebi
2010-09-23 08:47:10 UTC
Permalink
is it because a user disables cookies in the browser?
Post by Wilhelmsen Tor Iver
Post by Ayodeji Aladejebi
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
---------------------------------------------------------------------
--
Aladejebi Ayodeji A.,
DabarObjects Solutions
Phone: +234 9 875 1763
Mobile: +234 803 589 1780
Email: ***@dabarobjects.com
Web: www.dabarobjects.com
Wilhelmsen Tor Iver
2010-09-23 09:03:17 UTC
Permalink
Post by Ayodeji Aladejebi
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-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org
Vojtěch Krása
2010-09-23 20:56:44 UTC
Permalink
Hi,

check this http://markmail.org/thread/u42f6idu2hsdulom
Post by Ayodeji Aladejebi
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
Continue reading on narkive:
Loading...