PavanKumarU
Programmer
Hi,
we had a requirement recently, and i have been researching for a solution, in vain. Hope osmeone could throw some light.
We ahve created a browser based application that renders crystal reports to users. The last page in a sequence of parameter prompting, criteria validating is the showreport.asp page. The server side coding is done in asp and we are using Session objects to store report data. Once the report is rendered to the browser, user might leave the browser in 3 ways. Actually closing the browser, hitting a button thta we provide, or hitting the browser's back button. We are ok with the first two, but when user clicks the back button i want an event to fire in which i would like to include code that would destroy the session and redirect the user to the index page, where he/she has the option selecting a report.
Could someone throw light on how to capture the hitting of the back button and how to code it?
any help is much appreciated.
Thanks
we had a requirement recently, and i have been researching for a solution, in vain. Hope osmeone could throw some light.
We ahve created a browser based application that renders crystal reports to users. The last page in a sequence of parameter prompting, criteria validating is the showreport.asp page. The server side coding is done in asp and we are using Session objects to store report data. Once the report is rendered to the browser, user might leave the browser in 3 ways. Actually closing the browser, hitting a button thta we provide, or hitting the browser's back button. We are ok with the first two, but when user clicks the back button i want an event to fire in which i would like to include code that would destroy the session and redirect the user to the index page, where he/she has the option selecting a report.
Could someone throw light on how to capture the hitting of the back button and how to code it?
any help is much appreciated.
Thanks