Page Expiry Problem

W

Walter Psaila

Hi,

We have an ASP.NET 2.0 web page with user authentication.
We have a page which contains a Multiview with a number of different views.
Each view represents one step in a whole process.
The user can move from one step to another using the WebControl Buttons
(Next and Back) we provided on the views.
Once the User comes in the last view and presses finish we do not want the
user to click the Browser Back button, but expire somehow the multiview
page.

We tried removing the browser Cache as follows:
Response.ExpiresAbsolute = DateTime.Now.AddDays(-1d);
Response.Expires = -1500;
Response.CacheControl = "no-cache";

However, we achieved removing the browser's cache but when the user clicks
the back button we are getting "Page Cannot be Displayed"
Cannot find server or DNS Error. This behaviour we are getting when we are
in a multiview not when moving between different aspx page which do not
contain a Multiview.

How can we acheive this differently and expire the page on clicking the
finish view?

Thanks in advance

Charles Mifsud


N.B We do not wish to expire the whole session.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top