K
Kevin Frey
We have a web application that, for the purposes of reporting, launches a
new window to display the contents of the report in (PDF format). This is
implemented using a custom IHttpHandler implementation in our project.
The report is launched by a standard hyperlink with a target="blank" to
force the new window.
The one problem I have noticed is that if the user leaves the "launcher"
page open a long time, the web server will invariably time out, which leaves
the question of what the IHttpHandler should do.
Obviously it cannot simply redirect to a "login" page since this is a
"child" window.
Ideally what should happen is a separate window should not launch at all,
and the main launcher window would return to the login page.
I'm not sure how I would make that happen. Something after the session check
must then cause a window to popup with the content programmatically.
What is the best way to do this and am I going to run into problems with the
popup blockers of various programs?
Thanks
Kevin
new window to display the contents of the report in (PDF format). This is
implemented using a custom IHttpHandler implementation in our project.
The report is launched by a standard hyperlink with a target="blank" to
force the new window.
The one problem I have noticed is that if the user leaves the "launcher"
page open a long time, the web server will invariably time out, which leaves
the question of what the IHttpHandler should do.
Obviously it cannot simply redirect to a "login" page since this is a
"child" window.
Ideally what should happen is a separate window should not launch at all,
and the main launcher window would return to the login page.
I'm not sure how I would make that happen. Something after the session check
must then cause a window to popup with the content programmatically.
What is the best way to do this and am I going to run into problems with the
popup blockers of various programs?
Thanks
Kevin