Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Possible to force a one-time immediate refresh?
Old 10-27-2008, 05:49 PM Possible to force a one-time immediate refresh?
Skilled Talker

Posts: 90
Trades: 0
Hi all,

I'm having a problem on a user page that can be easily resolved if the user just refreshes their page -- but rather than ask someone to do that each time, I'm wondering if there's a way to automatically do it.

So essentially, this is what I want:

1. User reaches specific page
2. Page immediately reloads once when it's first visited

Any ideas?

Thanks
msaz87 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-27-2008, 09:11 PM Re: Possible to force a one-time immediate refresh?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
can be done with javascript, but there must be a better way!

What is the problem?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-27-2008, 10:38 PM Re: Possible to force a one-time immediate refresh?
Banned

Latest Blog Post:
Oscar: The Bionic Cat
Posts: 237
Trades: 0
hmmm.. why the page have to be reloaded???
bogs is offline
Reply With Quote
View Public Profile Visit bogs's homepage!
 
Old 10-28-2008, 01:37 AM Re: Possible to force a one-time immediate refresh?
Skilled Talker

Posts: 90
Trades: 0
I'll try to describe the issue best as I can.

There is a google api map on the user page that doesn't load properly the first time out. If you refresh it, it loads fine. The map shows up missing markers and partially grayed out... which is why it needs the refresh.

So I don't really know a better way to do it other than to force a refresh... I've had a few programmers try to fix the problem in the map itself to no avail, so now I'm looking for a workaround.

Thanks for the help
msaz87 is offline
Reply With Quote
View Public Profile
 
Old 11-02-2008, 07:52 PM Re: Possible to force a one-time immediate refresh?
Skilled Talker

Posts: 52
Name: Morten
Trades: 0
Well!

It can be done with javascript, and it's the best way. I had this problem a few years ago, and I can't remeber the javascript code, and where I got it.

But correct me if I'm wrong. I'm almost 100% sure that you can't do it with oure html.

I found this thread though:
http://www.dynamicdrive.com/forums/s...ad.php?t=28668

I believe this can solve your problem.
__________________
- Do Nothing!
- Get Nothing!

Please login or register to view this content. Registration is FREE
Rotco88 is offline
Reply With Quote
View Public Profile
 
Old 11-04-2008, 10:42 AM Re: Possible to force a one-time immediate refresh?
Experienced Talker

Posts: 34
Trades: 0
You can easily do this using the meta tag.

<meta http-equiv="refresh" content="0"> <-- This will refresh immediately.
__________________

Please login or register to view this content. Registration is FREE
pingeyeg is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Possible to force a one-time immediate refresh?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26263 seconds with 12 queries