Click to See Complete Forum and Search --> : Preserving session/login in popup Browser


wrbell
10-14-2005, 06:02 AM
Hello,
Unfortunately, I'm fairly new to web development so apologies for my lack of knowledge. I am trying to achieve something that I thought would be very easy!

I have a web application running on Tomcat 5.0.28. The application consists of public and secure pages. The secure pages are placed in folders secured by Tomcat's container managed security model with Form authentication. After logon, viewing the secured pages is no problem in the main Browser window (note. this includes displaying Excel spreadsheets). However, what I want to do is display a page from a secure folder in a second (i.e. popup) Browser window. Displaying a secured page/Excel spreadsheet in the main Browser is no problem, displaying the same page/Excel spreadsheet only in a temporary non-secure folder in a popup is no problem, but displaying the same page/Excel spreadsheet in a secure folder in a popup will not work.

I believe that it must be because the popup Browser window is in fact a new session and hence the security login is not persevered from the main Browser to the popup.

I have 2 questions...
1. Is displaying a page in a secured folder in a popup Browser possible to do?
2. If so, how?

I have dabbled a little bit with URL rewrite but either this is not the way to achieve what is required or I am doing it totally wrong!

Any advice would be very welcome indeed - thanks.

Regards

William Bell