Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

Question

Status: Closed Points: 125 Time: 01:26 - Nov 21, 2006  

mathangi1981

How to identify that browser (IE) is clicked by the user?

Hi,

I can make use of history.back() to move to back page.
But my problem is i want to know whether user have
clicked the back button in the browser or not?

If i get the ans.. it would be greatful

Categories

Answer Discussion
Tutorials

 

jgivoni

Date:: Nov 29, 2006

Time:: 01:51

Due to the nature of history.back() it seems impossible.
The method history.back() simply simulates a click on the browser's back button, therefore the result should be exactly the same and the origin of the command unrecognizable. To me it also makes sense that when the user goes back he doesn't expect something new to happen, that didn't happen last time he visited that page.

However, to send the user back to the previous page I have successfully used something like this:
location.replace(document.referrer);
With this command you will be able to append a querystring that you can analyse on the previous page to get information about the call.

mathangi1981

Date:: Nov 29, 2006

Time:: 02:02

Hi,

Thanks for ur response.
I dont want to send the user back to previous page.....what i want is
I doing some operations in my application.... that time i am clicking IE
back button and i am comming to the previously visited page Is there
any way now i can no that i have used the browser back button......

Sergio Costa

Date:: Jan 06, 2007

Time:: 10:12

You can use the referer to check that he came from a page somewhere after in your flow of pages. Maybe that will fix your problem.

admin

Date:: Jun 04, 2007

Time:: 11:34

mathangi_d, please close this question and distribute the points.
If you didn't get a solution to your problem or you found it yourself, please leave a comment here to let the experts know.
Thanks,
Quomon Admin

mathangi1981

Date:: Jun 04, 2007

Time:: 23:48

This issue can be closed
Thanks

admin

Date:: Jun 06, 2007

Time:: 07:16

I have closed the question, and joined the previous user you created, mathangi with your current one.
You can distribute the points and close the question yourself, if you're logged in and looking a question that you asked.

Quomon Admin

Question Answered

This question has been closed, and points have been rewarded to the following experts:


jgivoni: 65
Sergio Costa: 60

You're welcome however to comment or give additional information or if you wish, you have the ability to write a Tutorial in the Tutorial Area.

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

No tutorials have been submitted yet. Want to be the first?

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

10354

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es