Forcing a New Session in JSP

Posted on 2003-03-04
Medium Priority
Last Modified: 2010-08-05
I want to force a new session to start when a link opens a new window through target="_blank". I still want to maintain the orginal session.

Is this possible?

If possible I would also like to also have access to the original session id.
Question by:wanderingwalrus
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

Expert Comment

ID: 8069674
It will be same session on the server with window.open().
To workaround, if you open it using:
Runtime.getRuntime().exec("C:\\Program Files\\Internet Explorer\\IEXPLORE yourFullURLPath");

You will get new session.

LVL 92

Accepted Solution

objects earned 240 total points
ID: 8069753
If you want to have seperate sessions with different windows (in same browser session) then you need to use url rewriting (and not cookies) for handling session id.
LVL 19

Expert Comment

ID: 8073800
objects is right.  Use url rewriting for session handling.


Author Comment

ID: 8296005
This wasn't entirely what I was lloking for, since I was looking for some way to not use rewriting.

But hey, it works!


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

New style of hardware planning for Microsoft Exchange server.
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

752 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