Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

lauching URL in new window kills realm authentication

Status
Not open for further replies.

UltraSmooth

Programmer
Oct 28, 2002
97
CA
I have a webapp that I authenticate using realms in Tomcat. There is a particular Crystal Report I launch via an applet using the context which seems to kill my authentication and then I have relogin to do anything else. Here is teh code that launches the report and the sample url that kills the authentication.

LAUNCHING REPORT FROM APPLET
try {
String launchURL = host + directory + report + "?promptOnRefresh=0"+ "&" +
authentication + "&" + key + "&" + startPeriods + "&" + reportYears + "&" + reportTitle + "&" +endPeriods + "&" + locations + "&" + reportPeriod + "&" + fiscalWeek + "&" + fiscalYear + "&" +time;
context.showDocument(new URL(launchURL), "_blank");
} catch (Exception ex) {
ex.printStackTrace();
}

SAMPLE URL THAT CAUSES PROBLEM
Title"&promptex-end="1"&promptex-locs="01","03","04","05"&promptex-period="Feb 2004 [04-01]"&promptex-cw="1"&promptex-cy="2004"&promptex-time=-2-52728"


I have gone over and over the url and can't find what is doing it. Anyone have any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top