473,404 Members | 2,195 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

checking for back button

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?
Jul 20 '05 #1
7 4916
In article <d1**************************@posting.google.com >,
bi*****@hotmail.com (bigbinc) writes:
Is there a way to check for the back button?
No.
There has got to be a way with either vbscript/javascript.
If there is, its a huge bug in the browser.
I could place redirect pages in there or some creative?
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.
any ideas?


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.

--
Randy
Jul 20 '05 #2
hi************@aol.com (HikksNotAtHome) wrote in message news:<20***************************@mb-m05.aol.com>...
In article <d1**************************@posting.google.com >,
bi*****@hotmail.com (bigbinc) writes:
Is there a way to check for the back button?


No.
There has got to be a way with either vbscript/javascript.


If there is, its a huge bug in the browser.
I could place redirect pages in there or some creative?


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.
any ideas?


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.
Jul 20 '05 #3
In article <d1**************************@posting.google.com >,
bi*****@hotmail.com enlightened us with...


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
-------------------------------------------------
Jul 20 '05 #4
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.
I am working on a web application that usually fries when I a user
uses back.

Jul 20 '05 #5
kaeli <in********************@NOSPAMatt.net> wrote in message news:<MP************************@nntp.lucent.com>. ..
In article <d1**************************@posting.google.com >,
bi*****@hotmail.com enlightened us with...


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
-------------------------------------------------

I didnt program it, it is the ArcIMS GIS web interface that is blown.
Jul 20 '05 #6
kaeli <in********************@NOSPAMatt.net> wrote in message news:<MP************************@nntp.lucent.com>. ..
In article <d1**************************@posting.google.com >,
bi*****@hotmail.com enlightened us with...


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
-------------------------------------------------

http://www.esri.com/
Jul 20 '05 #7
In article <d1**************************@posting.google.com >,
bi*****@hotmail.com enlightened us with...


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
-------------------------------------------------
Jul 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: shank | last post by:
I use ASP to check users data they submit. In particular, I'm checking for credit cards and I also use a server component DynuCreditCard. It basically affirms that the number "could be" a real...
12
by: cruiserweight | last post by:
I've constructed this form so that if Javascript is disaabled it will show a typical <input type="submit"> button, BUT using the <noscript> tag. Why is this a problem and what's a viable solution?...
4
by: bbcrock | last post by:
I want to check to see if the user uses the back button to exit our site. I want to stop running certain functions if they leave our site via a back button. I am a real newbie for JS and have a...
25
by: KK | last post by:
Hi, I am using history.go(-1) for implementing the back button functionality. Its working fine but with this exception. 1. The page which is having back button has some hyperlinks on it. ...
4
by: MJW | last post by:
Is there a way for me to know if or which command button was just clicked that triggers the LostFocus event for the current control on a Form? I have a form that has many types of users who each...
8
by: Jack Addington | last post by:
I want to scroll through the alphabet in order to scroll some data to the closest name that starts with a letter. If the user hits the H button then it should scroll to the letter closest to H. ...
4
by: Emilio | last post by:
Hi, I have a form that contains various server validation controls, the submit button will either open a popup box or a popup window on the client-side click event. The question is, how do I...
29
by: Tom wilson | last post by:
I can't believe this is such an impossibility... I have an asp.net page. It accepts data through on form fields and includes a submit button. The page loads up and you fill out some stuff. ...
3
by: DavidPr | last post by:
On my image process page I want to first check to see that the picture title ($item_title) isn't in use, if not the script moves to the next conditional. Now we check to make sure that the image...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.