BACK BUTTON Internet Explorer

  • Thread starter Thread starter DENTONE
  • Start date Start date
D

DENTONE

It's possible to dosable programmaticaly tha back button of Internet Explore
in my asp.net web pages (VB).

thank's
 
No. All you can do is expire the content of the previous page so that there
is no valid page to go back to.
 
Thank's

I have solved my problem with

Response.Expires = -1

Response.AddHeader "Pragma", "No-Cache"

Response.CacheControl = "no-cache"


BYE
 
<script language="JavaScript">
window.history.forward(1);
</script>

This makes the current page the first page in history, making it impossible
to go back more than one page (perhaps not for a person with a serious
nervous tic, but that is another story). :-)

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
 
This is better!!!
very good
Cowboy (Gregory A. Beamer) said:
<script language="JavaScript">
window.history.forward(1);
</script>

This makes the current page the first page in history, making it
impossible to go back more than one page (perhaps not for a person with a
serious nervous tic, but that is another story). :-)

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box! |
*************************************************
 
But i wrtite code in VB!?!? how i can use it?
Cowboy (Gregory A. Beamer) said:
<script language="JavaScript">
window.history.forward(1);
</script>

This makes the current page the first page in history, making it
impossible to go back more than one page (perhaps not for a person with a
serious nervous tic, but that is another story). :-)

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box! |
*************************************************
 
With all due respect, Greg, I wouldn't recommend this approach as altering
the user's history seems to go against good useability practices.

Just my 2 cents.

-Scott
 
Back
Top