06-21-04 03:36 AM
Thanks Ken for your reply.
Where can I learn to do this in the HTTP headers via IIS
manager? I am not too familiar with .asp just getting
started
>-----Original Message-----
>The expiry is set using HTTP headers.
>You can't disable the back button per se.
>
>You can set the HTTP headers either using IIS Manager, or
you can
>dynamically set them using server-side code. For example
in ASP you'd do:
>
><%
>Response.ExpiresAbsolute = #1/1/1980#
>Response.AddHeader "cache-control", "no-cache"
>Response.AddHeader "pragma", "no-cache"
>%>
>
>Cheers
>Ken
>
>"Joe" <anonymous@discussions.microsoft.com> wrote in
message
> news:1e22d01c454e3$b42b1c10$a401280a@phx
.gbl...
>: Hello,
>:
>: For security purposes I would like to know how to
disable
>: the back button in the browser and/or expire the page
>: similar to an online banking institution does.
>: e.g. when you hit the back button in the browser it
gives
>: the warning that page has expired.
>:
>: Thanks
>: Joe
>
>
>.
>
[ Post a follow-up to this message ]
|