JSP Session variables in Parent-Child window

Posted on 2003-03-13
Medium Priority
Last Modified: 2010-03-17
Hi All,

What we are doing is:

1. Display login form on one window and target it to a new window.

2. Once logged; system creates session variables with in child window.

3. However these session variable are also available in parent window.

My question is:

1. Is there any way that we can restrict these session variables in the child window only? If yes, then how?
Question by:_viv
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

Accepted Solution

cpuburst earned 150 total points
ID: 8141864
Why don't you explicitly set the page directive session attribute to false in the child window jsp. Default is true.

<%@page session="false"%>

Author Comment

ID: 8160317
Thanks cpuburst!

It doesn't exactly solve my problem however it solves my problem to a large extent.

Once again Thanks!

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack or Above. The following steps a…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

764 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