Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

jsessionid question?

Posted on 2005-03-31
4
Medium Priority
?
186 Views
Last Modified: 2010-03-31
I have my application servers. I have shut down my Cookies for session management and turned on URLRewriting.

So I have following sesssion id: 0000aqwslwlkj;-1 appended to my html.

Now when I do request.getSession().getId(); this is what I get:  aqwslwlkj

How can make sure that i get something consistent since I want to store my session id.

Thanx in advance.
0
Comment
Question by:rahulkothari
3 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 13675214
When you say 'consistent', what do you mean, and how is that *in*consistent?
0
 

Author Comment

by:rahulkothari
ID: 13675403
well i found a solution myself.

response.encode("");

This would only give the jsessionid. Then I could use that one using a simple substring.

Thanx again.

0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 14419342
PAQed with points refunded (125)

modulo
Community Support Moderator
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

577 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