?
Solved

doubt regarding response.encodeURL and JSessionid

Posted on 2004-11-19
3
Medium Priority
?
464 Views
Last Modified: 2010-04-01
hi

imy doubt regarding response.encodeURL

i know this method is used when u disable cookies in the browser

jsessionid will append in the URL

<a href="<%=response.encodeURL(ex.jsp)%>"?name='+name>

my doubt is how jsessionid will append to the URL when i use encodeURL method;

should i create sessionid using session.getId();

should i applend  this sessionid to the URL;

how this Jsessionid will work in ex.jsp when i use request.getParameter("name");


what is the use of jsessionid here explain me clearly


0
Comment
Question by:chaitu chaitu
3 Comments
 
LVL 11

Expert Comment

by:sompol_kiatkamolchai
ID: 12633371
By using encodeURL(url), it will automatically append !jsession=xxxxxxxxxxxxxxxxxx after ex.jsp
0
 
LVL 3

Accepted Solution

by:
vikraman_b earned 800 total points
ID: 12636433
0
 
LVL 35

Expert Comment

by:TimYates
ID: 12642652
If you just turned cookies off for your browser and tested this, you would have seen that it worked ;-)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Most folks would know the basics of how Dropbox works, so that’s not the purpose of this article. Security is what it’s all about, so here I’ll share how I choose to secure my Dropbox Account and the Data it contains.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question