The Browsers' Back Button

I use the following code which simulates the browsers' back button. window.history.back(), but whenever i use this , i get a "404 page not found error . is this related to browser settings?

View Replies


ADVERTISEMENT

Back Button : : How To Fill Values Back

I have a form that submits values to an asp page. If their is an error on the asp page that is called and you go back to the first page with the form. The values are not in the form.

How can I set the value back into form without the user having to retype them in? If I use hidden fields on the first asp page and I go back to that page wouldn't the values for the hidden fields be empty as well?

View Replies View Related

IE Back Button

i have this prob. example,

i have created 2 .asp pages which,
1. Index page
2. Adding asp function

User will start to add contents in index.asp, then clicked on the "Add" button. the form will post to addContent.asp to add the contents to the database, then prompt the user for Adding contents complete and lastly display the added content to the Index page.

However, when i clicked on the "back" Button at the IE Standard Bar, it display the addContent.asp page and prompt user for the last msg -> "Adding contents Successfully". how can i redirect the page to the previous page before the adding page when the user clicked on the "Back" button at the IE Bar?

View Replies View Related

Log Out And Not Be Able To Use The Back Button

I am devloping a site with a log in function and it works fine, but what I want to make sure that when the user logs out, he/she can not use the back butten and then automatically enter the protected site again, and this is where I am at the moment.

I have tried several no-cache solutions, but they don't work as intended. Users should still be able to go back and forth between pages within the restricted area, and this does not work with no-cache, at least I am not able to make it work.

How do I make sure that using the back button will produce either a expired warning page, or redirect the user to the log in page?

How would this code look? and what page should the code be in?

View Replies View Related

Back Button X3

I want to put a back button on my page, but to back 3x pages is it possible?

View Replies View Related

Javascript Back Button

I am trying to implement a javascript back button on my page. I had everything working on my test server, however, whenever I migrated over to the secure server, it throws an error saying that the page cannot be displayed. I am using javascript.back

I have searched these forums, and couldnt find anything to help me, so I figured I would post to see if anyone may know of a solution.

View Replies View Related

User Back Button

I've created a asp form that the user submits, the information is wriiten to a database and the user is redirected to a thankyou page

The problem is, if the user presses their browsers back button the form the just submitted is still filled and allows them to resubmit the form.

How can I clear the form session once the user clicks the submit button? I've read about this before, but can't seem to find the darn webpage that explains this.

View Replies View Related

Deactivate The Back Button

i want to deactivate the back button on left top corner to the browser window, is it possible to do it in ASP. if yes please help me friends

View Replies View Related

BrowserHawk Back Button

IS anyone having trouble with BrowserHawk's GetExtPropertiesEx changing the behavior of the back button?

The manual says this is only an issue in IE 3. But FireFox and IE 6 are mouse trapping with a GetExtPropertiesEx 0 type call.

View Replies View Related

Web Address Bar And Back Button.

I would like away to make my users of my ASP application have to use the buttons on my web developed web pages to go from one screen to next.

Not allow them to use the back button or go to another web page of my application by using their browser's address bar. I would not want to disable the browser's address bar and back button in case they get knocked off my application for some reason.

Just want my application to ignore the clicking of the back button and new entry into address bar that has to do with any of my pages in my ASP application. They all have to same beginning //CEOSH_Web/applications/myaspapp/... Code:

View Replies View Related

Disable Back Button

This isnt really a problem more like extra secutiry.
I am creating a wesite for a user who isnt completely computer literate and i want to either disable him from having access to the IE Back button as if he goes back on one of the pages and then re-clicks on the button on that page it will re-submit data that he shouldnt be!

View Replies View Related

Back Button And Aunthentication

I used the Macromedia Dreamweaver Login Authentication forms to gain access to my page. The user logs in and logs out just fine. But if they log out, and then click the "BACK" button, then they can return to a secure page that they should have been restricted from.

Does this have to do with Session variables? I'm just confused why they would get access. Do I need to clear something that isn't being cleared?I can upload my code, but I'm not sure what to upload, its all standard MMX stuff.

View Replies View Related

Clicking Back Button

After logout, if the user clicks the back button, the session should expire. how to do this

View Replies View Related

Disable Back Button

I'm having a problem disabling a back button. Normally what I would do is just throw a history.forward() javascript on the preceding page and be done with it. My problem is that the preceding page can either lead to an error or a confirmation page. If the user produces an error and are taken to the error page, they'll need to be able to click back to correct their mistake. If everything is correct and are taken to the confirmation page, then they shouldn't be allowed to get back.

Has anyone come across this? I've tried setting a session variable when everything is correct but clicking on Back makes the value of the session variable what it was when you originally got to the page.

View Replies View Related

Understanding Back Button

How can we understand that the user presses BACK button of browser?

View Replies View Related

Using Browser Back Button

On a current website, when I submit a search from a form, the page with results are shown. If I then click page 2 of the results I get page 2 no problems. The PROBLEM then is a user clicking the browser back button. When this is pressed IE shows this error which makes sense but sites like play.com dont have this problem. Quote:

Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you. To resubmit your information and view this Web page, click the Refresh button.

View Replies View Related

Problem With The Back Button

On one or two pages if I click on the back button, I get the Page Not Found error messagepage. How can I get it to go back to the previous page?

View Replies View Related

Select Box & Back Button

Annoying behavoir from IE6, haven't tested other browsers. Have a select box, onchange event submit the form (it's a date). Data is retrieved for selected date. Everything's wonderful

User clicks the back button, the previous data is displayed, but the current option in the select box is still chosen, so the date that's retrieved doesn't match the date that is selected.

Looks like this is by design, which doesn't make any sense, so I thought of killing the cache. Is this acceptable practice in an ASP app? It's an internal business app running on our intranet if that makes any difference.

View Replies View Related

Back Button In Explorer

is it possible to control the back button on internet explorer. i mean to say that i have an asp page and it contains certain settings and values in the fields, when user click the submit button.

new page comes up and now when the user click the back button on the explorer, how can i retrieve the values and settings on the previous page.

View Replies View Related

Disable Back Button Of Browser.

How can I disable back button of a browser in other words not allow the user to go back to the page from where they have come to this page when they click back button.

View Replies View Related

With Postage Calc And Back Button Please?

1. I'm trying to create an image button that when clicked returns the user to the previous page, however this changes so I've been led to believe that Response.Redirect ("HTTP-REFERER") would be a good command to use. This is to appear on my shopping cart so when a product is added you can click the button and return to the page just left done by 1st line below.

But if the contents of the shopping cart are deleted to zero products it takes you to a "shopping cart is empty" message the button may then need to travel back possibly numerous pages is there an "if page="****.asp"" command so it ignores the page until it finds another url page then goes back to that at the mo the bottom line just takes you to the homepage?? Code:

View Replies View Related

Clear The Back Button History?

The back button that appears on every browser has a list that allows moving back to a specific page quickly, I'm sure you all know the one I mean. Is there a means of clearing said list? perhaps some DHTML method or the like?

View Replies View Related

Refresh When Back Button Is Clicked

How can I make it that if the user clicks the back button --- the page will be automatically refreshed form the database (the asp) and not just show what was on the page before they submitted?

View Replies View Related

Disabling Explorer's Back Button

How can I prevent user pressing the explorer's back button?

View Replies View Related

Back Button Doesn't Remember New Value

I have an asp page that builds a calendar made up of images for each day. When a user selects a day, javascript changes the day selected and the next 2 days' images to a "booked" image. I place the day's value into a hidden form variable, so that when the user bounces around different months (same page), then comes back to the month with a date selected, the page will remember the day and show the "booked" images for the day already selected.

After the user comes back to the month where a day was selected and decides to change the day, then move forward in the "booking" process, but then presses the back button, the page remembers the previous day selected.When the back button is pressed, how can I code the page to view the new day selected?

View Replies View Related

Click On Browser's Back Button

when my asp page displayed in browser..and suppose i click on back button of browser then it should not go to back page. in this case the same page should be always display.
how can we do this?

View Replies View Related

Force Refresh On Back Button

I'm writing a math quiz. Every time the page loads, random problems are generated. The student enters the answers in text fields. They submit the form and the answers are checked.

if they were to press the back button, the same page will be there, and the student can fix the wrong answers. Is there an elegant way to force the page to refresh when the student presses the back button?

View Replies View Related

Disable Browser Back Button

I know you can not disable the browser back button but I have a script that grades online tests and when they click the, Grade test button, it works great. But if you click the back button, you can go back to the page and change the answers to the questions. So like this, if one failed the test they could simply click the back browser button and redo the test.

What I need is away to not disable the back button but maybe if they click the back button to take them back to the registration page to register for the test again. I have tried a few lines of code with "no-cache" and it would show expired but I prefer a redirection to the registration page if posible. how this could be done when clicking on the browser back button?

View Replies View Related

Back Button (IE) Still Show Content After Logout

My problem is that the back button (IE) still takes me to the contents page after logout. I am a beginner, do not know much about security.

View Replies View Related

Back Button Or Refresh Page OnLoad

how to detect when the user click on the back button to go back to the previous page? Or a way to refresh a ASP page whenever it's loaded?

View Replies View Related

Is It Possible To Disable The Back-button, From The Server Side??

I was wondering, is it possible to disable the back button in internet explorer.

Our Website is hosting a Siebel website, and the problem is that Siebel has problems with the use of the back button in internet explorer. I can't make a customized internet explorer because the site must be accesible anywere.

View Replies View Related

ASP - Form Redirect To Same Page - BACK Button Does Not Work ???

I have created 2 asp pages called testa.asp and testb.asp

testa.asp has a link to go to next page testb.asp

testb.asp has a form that ask you for a reference number and post it
to the same page testb.asp

If the reference number is not blank, it will just write out what the
reference number is.

Now my problem....

If you go to testa.asp and click on the link to go to testb.asp you
will see the form. At this point, if you click the back button, it
till take you back to testa.asp ALL FINE SO FAR.

If you go to testb.asp again and see the form, enter a number say 33
and click on search. This will now show you the number you have just
entered. NOW - click on the BACK BUTTON, it will just show you exactly
the same page ! WHY does it not go back to the FORM in order to refill
in a different number. Code:

View Replies View Related

Back Button Problems With Dynamically Generated Pages...

I have a web application done in Cold fusion but I think this may apply to other dynamic apps done in asp etc.

I have a "list" page which lists items and is generated from a database. When you click on the item name it passes the unique itemID in the URL to a "details" page where more info about that Item is displayed - standard drill down proceedure.

The problem is this - when I am on the "details" page I cannot go back to the "list" page in NN or Mozilla - in fact the browser back button is grayed out like the first page never existed. This does NOT happen in IE - the back button works as expected.

Similarily, java script solutions like <a href="javascript:history.go(-1);">back</a> also fail in NN and Mozilla but DO work in IE.

I think this has do do with the dynamically generated pages and the above mentioned browsers not "remembering" them since they are created on the fly - but why? Since things work fine in IE there must be a simple solution to this problem...

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved