/    Sign up×
Community /Pin to ProfileBookmark

Safest Redirect

I am working on developing a redirect that is redirecting a page from a CDROM to a website. The odd reason is because its linked from Flash embeddeed html file that is on a cdrom. My issue is that if I try to link it straight out of flash sometimes the user would have to change his or her security settings. Well that is not going to work because these have to be somewhat “pop the cdrom in and go” so what I have done is made redirects and made local html pages that redirect to an external web link.. I know it sounds like a round about way to go but I need it to work flawlessly.. So where is my question..

What works on all platforms, and will give me the least amount of trouble with doing a redirect? Using a META TAG redirect or a JAVASCRIPT redirect. here are my two examples.. What will work across all browsers and platforms?

Example #1-

<META http-equiv=”refresh” content= “1; Url=http://www.mywebsite.com“>

OR

<SCRIPT LANGUAGE=”JavaScript”>
window.location=”http://www.mywebsite.com/“;
// –>
</script>

WHAT ONE SHOULD I USE?????? AND WHY????? JUST THOUGHT YOU GUYS WOULD KNOW BETTER THAN I!!! What do you think?

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@chadillacJul 01.2006 — use the meta redirect.

meta tags are browser supported and standard, javascript as we all know can not only vary from browser to browser but also can be disabled.

your safest and most logical bet would be to go with the meta tags
×

Success!

Help @yinyang042 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...