It appears you have not yet registered with our community. To register please click here...

DNforum.com - Domain Sales, Domain Forum, Domain Appraisals
 
Register Now!
Register Now for FREE!
Our records show you have not yet registered to our forums. To sign up for your FREE account INSTANTLY fill out the form below!

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:  
Birthday:       I agree to forum rules 

Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Coding/Programming/Languages
Reply
 
LinkBack Thread Tools Display Modes
Old 09-08-2006, 06:22 PM   #1 (permalink)
Domain Developer
 
cursal's Avatar
 
Name: Brian
Last Online: Today 10:46 PM
iTrader: (29)
Join Date: Aug 2003
Posts: 1,288
DNF$: 7,282
Location: Oregon
Country:


Refresh, but only once..Can U Do it?

Hello all,

Problem :greensighw:
-----------------
I have been searching for a way to refesh a page, but only once, after it has loaded.

I have tried both a meta refresh and javascript refresh, but the snippits of code I have tried and written get caught in a loop. For example when it reloads the page it see the refresh again and triggers the action.

Reason
-----------------------
The reason is that sometimes contextual ads don't show when the page loads, so I was looking for a way to reload/refresh the page after 2 seconds.

Reloading/refreshing the page corrects the "blank ad spots" showing relvant ads.

Can you solve this?
__________________
Job Board Software
cursal is online now   Reply With Quote
Sponsored Links
Old 09-08-2006, 06:32 PM   #2 (permalink)
www.LOL.biz
 
Bender's Avatar
 
Name: Daniel
Last Online: Today 04:43 PM
iTrader: (13)
Join Date: Apr 2004
Posts: 1,796
DNF$: 5,218
Location: .ro
Country:


Re: Refresh, but only once..Can U Do it?

of course.
when the page loads , try to read a cookie.
-if the cookie is not set, set it, and activate a timed refresh.
-if it is set, do nothing, this is the second load.
I could write the actual JS code, but it's almost 2 AM here
__________________
Eli Stone|Intestinal Parasites
Bender is offline   Reply With Quote
Old 09-08-2006, 06:52 PM   #3 (permalink)
Domain Developer
 
cursal's Avatar
 
Name: Brian
Last Online: Today 10:46 PM
iTrader: (29)
Join Date: Aug 2003
Posts: 1,288
DNF$: 7,282
Location: Oregon
Country:


Re: Refresh, but only once..Can U Do it?

Thanks daniel,

I will look into how to do that. Never been much of a "cookie" guy. But guess it's time to learn ...
__________________
Job Board Software
cursal is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
refresh DomainSite domain list MediaHound Domain Registration Discussion 2 09-30-2005 12:57 AM
Irritating page refresh with Firefox kokopelli Suggestions and Feedback 12 06-17-2005 07:31 PM
Annoying live auction refresh and name quality trader Suggestions and Feedback 8 04-10-2004 01:00 AM
enom URL redirect and URL frame or META REFRESH Bashar Website Development and Design Discussion 4 08-20-2003 12:30 AM


All times are GMT -4. The time now is 11:16 PM.
Copyright @2001-2008 DNForum.com

Learn Domains
Promote Domains
Research Domains
Buy Domains
Resell Domains
Park Domains
Sell Domains
Build Domains
Host Domains
Trademark Domains
Domain Domains
manage Domains
Appraise Domains