Jump to content

Recommended Posts

Hi all I'm new to to forum and to PHP. I have a small site written in PHP I'm getting a lot of complaints from my users that when they use the back button on there browser that it doesn't take them to the same spot on the page. It takes them back to the top of the page then they have to scroll down and find where they where at.

 

How do I solve this issue is there some code to hold a marker or tag? or would this even be handled with PHP

Because I have multiple pages. My users are not Internet savvy so I need to make things as easy for them as possible. So if they like using the back button then I need to make it work for them. Besides that I use the back button all the time and i get angry when a site I'm on will do the same thing. It is very frustrating trying to find the spot you where at after going back.

 

So can anyone help me with this issue??

 

 

Thanks for any help ;D

Aren't users wonderful?

 

Do you use refresh code, a no-cache pragma, or anything else that might reload the page every time it's visited?

 

 

The only thing I can think of that would reload the page are the ad's

EDIT-----------------------------------------------------------------------------------

 

I noticed that on this site when I hit the back button I go back to the very same spot how is that handled?

Do they report what browser they're using?  (Probably not.)

 

If you're not doing anything out of the ordinary to reload the page (and it might be the ad code), then the problem is their browser, and they'll need to find one that works the way they expect it to.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.