jsessionid question?

Posted on 2005-03-31
Medium Priority
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.
Question by:rahulkothari
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 86

Expert Comment

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

Author Comment

ID: 13675403
well i found a solution myself.


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

Thanx again.


Accepted Solution

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

Community Support Moderator

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

777 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