Page Expiration

  • Thread starter Thread starter Nithi Gurusamy
  • Start date Start date
N

Nithi Gurusamy

Hello All:

Page Expiration may look like a easy thing to do. It is frustrating that it
doesn't work. This is a local website running in a Windows 2000 Server
machine. I'm Accessing the website using http:\\localhost. I tried all
POSSIBLE things that I could try... Nothing works. On the click of the back
button, I just want the user to see "Warning: Page Expired...". I just
couldn't do it.

Please help me. Where should I be inserting code related to the
Page.Response.Cache members?

Thanks
Nithi Gurusamy
 
Hi Nithi,

Why not try it this way

Open a new windows application project
In the toolbox rightclick and select add/Remove items
In the customize toolbox select Com and in that the Microsoft Webbrowser

When that is in the toolbox drag it to your form
Drag also a button to your form.
Then this code and you have a mini Webbrowser.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate2("www.google.com")
End Sub
///
I hope this helps?

Cor
 
Back
Top