on 11-24-2006 12:15 PM
Hi,
I have created a web based application which uses FORM based authentcation. The application is developed in NWDS 2.0.16.
When I deploy the application and access it in IE there are two parameters JSESSIONID and SAPLB which get appended to existing URL.
I have set the context root of the application as myapp so for eg If i type in browser the following URL --> http://server:port/myapp and press go the application is loaded and the URL becomes something like this --> http://server:port/myapp/my.jsp;jsessionid=(J2EEXXXX)XXXXXXXEnd;saplb_*=XXXXXX
I have tried an alternative by setting <i><url-session-tracking/></i> in web-j2ee-engine.xml file but still the JSESSIONID gets appended in the URL.
Is there any way by which this JSESSIONID can be avoided in the URL as the problem is that if user adds the URL in Browser Favorites and then tries accessing the application it throws an error.
<b>- Chintan</b>
Hi Chintan,
the session Id is essential, as otherwise your application won't find back to the process it was started in.
Regards,
Benny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chintan,
> ...
> URL --> http://server:port/myapp and press go the
> application is loaded and the URL becomes something
> like this -->
> http://server:port/myapp/my.jsp;jsessionid=(J2EEXXXX)X
> XXXXXXEnd;saplb_*=XXXXXX
>
This is the default behaviour for the first request from the client. After that, by default, the session is tracked with session cookies. You can find the complete description here:
http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/25c82019068449ac97d585c905a0f2/frameset.htm
> I have tried an alternative by setting
> <i><url-session-tracking/></i> in web-j2ee-engine.xml
> file but still the JSESSIONID gets appended in the
> URL.
I think with this configuration you set the behaviour to use URL rewritting. So this is the opposite of what you want to achieve.
Best regards,
Stefan Brauneis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.