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


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

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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.
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.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

564 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