Page 1 of 1

404 error after clicking back button

Posted: Thu Jul 24, 2008 1:03 am
by shuchitaumehta
Unable to eliminate "Page Unavailable" errors when a user hits on the
Browser "Back" button in Internet Explorer.

Re: 404 error after clicking back button

Posted: Thu Jul 24, 2008 1:19 am
by Apollo
Need more details.

Re: 404 error after clicking back button

Posted: Thu Jul 24, 2008 1:36 am
by shuchitaumehta
Apollo wrote:Need more details.
for example register user page

after submit i post data to other page

in that page data inserted in db & redirect to 3rd page (next page)

now on 3rd page if i click browser back button i got 404 error

"The page cannot be displayed"

if i manually refresh page then it shows the page

don't know why this is so..?

Re: 404 error after clicking back button

Posted: Thu Jul 24, 2008 4:14 am
by Apollo
Did you try different browsers?

If you setup two php files, the first just containing a link to the 2nd, and the 2nd just printing "hello world". When you visit the first, continue to the second, and hit back, does that work OK? If yes, try adding the elements from your current php files one by one, and retry going back everytime to see what causes the back function to stop working.

Re: 404 error after clicking back button

Posted: Thu Jul 24, 2008 8:32 am
by shuchitaumehta
in Mozilla its working fine
but in IE its giving error

this is not in case of normal link click
i m posting data to 2nd page & the by using javascript moves to 3rd page
now at this 3rd page
browser back it gives error 404 page not found

thank you