Forums Index > Mewsoft Products > Auctionawy > Auto Refresh Between Pages
nosam First Post Posted on: 04-21-11 01:32 PM
Auto Refresh Between Pages

Quick Question. Is there a line of code that will AutoMatically Refresh the page for users when they navigate the site. Example When a User Logs In. If they dont refresh the page it shows them not logged in on the home page. Typically having to refresh constantly. If a user does not refresh between visits then the pages show what they have seen from last visit. I have had quite a bit of confusion with my users with this. Any help would be appreciated.\ \ Would be nice to have it where it refreshes between each page.
mewsoft Reply #: 1 Posted on: 04-21-11 09:13 PM
Re: Auto Refresh Between Pages

There are many if you search the web, try something like this:


Code: HTML
&lt;script language=&quot;javascript&quot;&gt;<br />onload = function () {setTimeout('window.location.reload(true)', 300000)}<br />&lt;/script&gt;

You can change the time out value 300000 in milliseconds to any time.


Mewsoft Support
www.mewsoft.com

nosam Reply #: 2 Posted on: 04-21-11 09:23 PM
g

Thanks MewSoft. WHere would your recomend placing to get the desired results?
mewsoft Reply #: 3 Posted on: 04-22-11 06:49 AM
Re: Auto Refresh Between Pages

As you like, either the frontpage template or the top_navigation class if you want to refresh all pages

Mewsoft Support
www.mewsoft.com

nosam Reply #: 4 Posted on: 04-22-11 04:51 PM
g

Thanks MewSoft. Is there a way to make it refresh as you navigate pages or does it always have to be timed.\ \ Sorry for so many questions. I have gotten alot better with the programming still wear kid gloves with it.