cancel
Showing results for 
Search instead for 
Did you mean: 

How can I supress "jsessionid=.." in url?

Former Member
0 Kudos

Hello,

Can someone please tell me how to supress the "jsessionid=" parm in the url?

If I run an app on my local engine it displays the "jsessionid=" parm in the url but on the server it does not. I like the clean look of a url without that parm.

Since it doesn't show up on server I'm assuming it's a setting that needs to be changed on my local machine but I don't know where and I haven't been able to find it in documentation.

Thanks in advance for any help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi David,

two things to check:

1. check if the <url-session-tracking/> tag is set in the web-j2ee-engine.xml descriptor of your application. This tells the web container to always send the JSESSIONID info as URL parameter. If you remove the tag, then the behavior would be to send JSESSIONID as cookie, and send it as URL param only in cases when the client supports no cookies.

2. Check if your browser supports cookies.

These pages can help you in doing so:

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/12/75521ecf90f448853dcb84c219c70d/frameset.htm">URL Rewriting as an Alternative to Cookies</a>

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/d1/84fd48edeb41d0bb69d2689071f4cf/frameset.htm">web-j2ee-engine.dtd</a>

[url=http://help.sap.com/saphelp_nw04/helpdata/en/a9/8251424e514fdd9138c200e8f1c70d/framset.htm]Runtime Administration of Web Applications[/url]

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for the responses. I've assigned both points because at quick glance it looks like what I'm looking for.

I'll try it out next week and post result

Thanks again!

Former Member
0 Kudos

David,

You can check

http://help.sap.com/saphelp_nw2004s/helpdata/en/4f/62052c4837154f951cf4c5ffc84cee/frameset.htm

There is a section in there 'J2EE Engine Cookies'.

James