checking for back button

B

bigbinc

Is there a way to check for the back button? There has got to be a
way with either vbscript/javascript. I could place redirect pages
in there or some creative? any ideas?
 
B

bigbinc

If there is, its a huge bug in the browser.


You want to change the navigation behavior of the browser? WHY? Sounds like you
are trying to solve a problem, and trying to solve it the wrong way.


Whats the real problem you are trying to solve?

The page has no way of knowing how I left, only that I left. Back/Forward
Button, Favorite Link, Close the browser, type in a URL, click a link, are a
few ways to leave, and the only one in that list that the page can be aware of
is a link being clicked, otherwise, it has no access (and no right) to know
where I went when I left.


I am working on a web application that usually fries when I a user
uses back. I found two ways to stop it, put an intermediate page in
between the page I want to go to. The other way is to use a pop-up
window without the menubar.
Both ways suck in my opinion.
 
K

kaeli

I am working on a web application that usually fries when I a user
uses back.

Then write your application properly. Don't mess with the user interface
because you didn't program it right.

What fries? Maybe we can help you fix your application.

-------------------------------------------------
~kaeli~
Press any key to continue or any other key to quit.
Who is General Failure and why is he reading
my hard disk?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------
 
A

asdf asdf

Getting the back button working in a web application is pretty
important. All users are familiar with the back button. Sounds like
that is a bug that needs fixing.

That said, IE gives you an event that lets you prompt the user before
they navigate away from your page and lets them choose to proceed or
cancel their navigation.
 
B

bigbinc

kaeli said:
Then write your application properly. Don't mess with the user interface
because you didn't program it right.

What fries? Maybe we can help you fix your application.

-------------------------------------------------
~kaeli~
Press any key to continue or any other key to quit.
Who is General Failure and why is he reading
my hard disk?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------


I didnt program it, it is the ArcIMS GIS web interface that is blown.
 
B

bigbinc

kaeli said:
Then write your application properly. Don't mess with the user interface
because you didn't program it right.

What fries? Maybe we can help you fix your application.

-------------------------------------------------
~kaeli~
Press any key to continue or any other key to quit.
Who is General Failure and why is he reading
my hard disk?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------


http://www.esri.com/
 
K

kaeli

I didnt program it, it is the ArcIMS GIS web interface that is blown.

If you didn't program it, how will you add javascript to it?

And how is it blown? What happens?
I assume you mean their web services? Or did you mean their pre-built
applications?

What happens that makes you think the back button is at fault? Often
these problems are caused by caching issues and requests, or the lack of
requests, to the server.
Is this for an intranet application or an internet application?

Breaking the back button is never a good fix. If their application is
truly at fault, they should be notified so they can fix it. If it's the
web service alone, however, it isn't their application that is broken -
it is yours. It may even be a simple bug in the browser you're using -
you didn't mention which one.

-------------------------------------------------
~kaeli~
Hey, if you got it flaunt it! If you don't, stare
at someone who does. Just don't lick the TV screen,
it leaves streaks.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------
 

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
474,085
Messages
2,570,597
Members
47,219
Latest member
Geraldine7

Latest Threads

Top