PC Review


Reply
Thread Tools Rate Thread

How can I automatically forward a visitor to another page?

 
 
Testing testing one two
Guest
Posts: n/a
 
      5th Jul 2004
Hi
I would like a link on a page (Page A) to open another page (Page B) which
automatically opens another page (Page C).
What I'm trying to do is hide the target address of page C from people who
visit page A.

i.e Page A - www.mysite.com
Page B - www.mysite.com/tos.html
Page C - www.the-other-site.com

This all might seem like a waste of time but there is a reason.
Cheers for any help.

John


 
Reply With Quote
 
 
 
 
Steve Easton
Guest
Posts: n/a
 
      5th Jul 2004
Use a meta refresh tag in the head section of tos.html that automatically opens
www.the-other-site.com

Place this between the head tags.

<META HTTP-EQUIV=Refresh CONTENT="0; URL=http://www.the-other-site.com/">

Content ="0 is the number of seconds delay before www.the-other-site.com opens.

In this case it is zero seconds.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

"Testing testing one two" <(E-Mail Removed)> wrote in message
news:cccdbe$csp$(E-Mail Removed)...
> Hi
> I would like a link on a page (Page A) to open another page (Page B) which
> automatically opens another page (Page C).
> What I'm trying to do is hide the target address of page C from people who
> visit page A.
>
> i.e Page A - www.mysite.com
> Page B - www.mysite.com/tos.html
> Page C - www.the-other-site.com
>
> This all might seem like a waste of time but there is a reason.
> Cheers for any help.
>
> John
>
>



 
Reply With Quote
 
Jon Spivey
Guest
Posts: n/a
 
      5th Jul 2004
I'd recommend against meta refresh.
1/ search engines dont like them - if the page in question has moved for
good a server redirect would be a better idea
2/ they don't work for users - user hits back he ends up on the meta page
and is redirected again and is stuck in an endless loop. A better answer
would be
<script type="text/javascript">
location.replace('http://www.page.com.page.htm');
</script>
<noscript>
<META HTTP-EQUIV=Refresh CONTENT="0; URL=http://www.the-other-site.com/">
</noscript>

Bottom line - any redirect should ideally come from the server. If it can't
for any reason at least don't mess with the users back button.

--
Cheers,
Jon
Microsoft MVP - FP

"Steve Easton" <(E-Mail Removed)> wrote in message
news:eC1QY#(E-Mail Removed)...
> Use a meta refresh tag in the head section of tos.html that automatically

opens
> www.the-other-site.com
>
> Place this between the head tags.
>
> <META HTTP-EQUIV=Refresh CONTENT="0; URL=http://www.the-other-site.com/">
>
> Content ="0 is the number of seconds delay before www.the-other-site.com

opens.
>
> In this case it is zero seconds.
>
> --
> Steve Easton
> Microsoft MVP FrontPage
> 95isalive
> This site is best viewed............
> .......................with a computer
>
> "Testing testing one two" <(E-Mail Removed)> wrote in message
> news:cccdbe$csp$(E-Mail Removed)...
> > Hi
> > I would like a link on a page (Page A) to open another page (Page B)

which
> > automatically opens another page (Page C).
> > What I'm trying to do is hide the target address of page C from people

who
> > visit page A.
> >
> > i.e Page A - www.mysite.com
> > Page B - www.mysite.com/tos.html
> > Page C - www.the-other-site.com
> >
> > This all might seem like a waste of time but there is a reason.
> > Cheers for any help.
> >
> > John
> >
> >

>
>



 
Reply With Quote
 
Jim Buyens
Guest
Posts: n/a
 
      5th Jul 2004
Howdy.

Any such scheme is futile. Once Page C is on display, the
visitor can simply right-click it, choose properties, and
read off the address. They can also right-click the page
and add into Favorites.

OK, you can trap right-clicks, but there are ways of
beating that as well.

I assume your reason for asking this question relates to
security. If so, please describe your objective.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------



>-----Original Message-----
>Hi
>I would like a link on a page (Page A) to open another

page (Page B) which
>automatically opens another page (Page C).
>What I'm trying to do is hide the target address of page

C from people who
>visit page A.
>
>i.e Page A - www.mysite.com
> Page B - www.mysite.com/tos.html
> Page C - www.the-other-site.com
>
>This all might seem like a waste of time but there is a

reason.
>Cheers for any help.
>
>John
>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to add a visitor counter to an web page. =?Utf-8?B?ZnJlZGowMDA=?= Microsoft Word Document Management 3 12th Sep 2007 06:44 AM
Re: Adding a button for visitor to email page Tom Willett Microsoft Frontpage 0 21st Dec 2006 08:06 PM
What can I capture from web page visitor? Ronald S. Cook Microsoft ASP .NET 0 17th Feb 2006 04:37 PM
Visitor Counter on web page =?Utf-8?B?bW5sZXN0ZXI=?= Windows XP Help 6 23rd Sep 2005 09:11 AM
How to display username of visitor to page Fred Microsoft VB .NET 5 4th Jun 2004 08:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:58 PM.