PC Review


Reply
Thread Tools Rate Thread

Automatic redirect a page

 
 
=?Utf-8?B?U3RldmU=?=
Guest
Posts: n/a
 
      22nd Jun 2005
Hi,

I want to set up a page that automatically redirects visitors to another
page on my web site in say 5 secs.

I cannot see a promt in FP 2002 to facilitate this - is there one?

Or does anyone no a script I can edit into the html to achieve same?

Thank you.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SkRS?=
Guest
Posts: n/a
 
      22nd Jun 2005
Steve,

Enter the follow tag between your Heading tags:

<META http-equiv="refresh" content="5;URL=http://wwww.yoursite.com/page.htm">

Change the url to your specs.
--
*****************
JDR


"Steve" wrote:

> Hi,
>
> I want to set up a page that automatically redirects visitors to another
> page on my web site in say 5 secs.
>
> I cannot see a promt in FP 2002 to facilitate this - is there one?
>
> Or does anyone no a script I can edit into the html to achieve same?
>
> Thank you.

 
Reply With Quote
 
Trevor L.
Guest
Posts: n/a
 
      22nd Jun 2005
here's a fancy one
<html>
<head>
<script language="JavaScript">
var start=new Date();
start=Date.parse(start)/1000;
var counts=10;
function CountDown()
{
var now = new Date();
now = Date.parse(now)/1000;
var x = parseInt(counts-(now-start),10);
if(document.form1)
document.form1.clock.value = x;
if(x>0)
timerID=setTimeout("CountDown()", 100)
else
location.href="http://javascript.internet.com"
}
window.setTimeout('CountDown()',100);
</script>
</head>

<body>
<center>
<form name="form1">
You are being redirected in
<input type="text" name="clock" size="2" value="10">
seconds.
</form>

<p>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a>
</font>
<p>
</center>

</body>
</html>

It redirects in 10 seconds - change the setting in setTimeout and
location.href
--
Cheers,
Trevor L., WIP (Web Interested Person)
Website: http://tandcl.homemail.com.au

Steve wrote:
> Hi,
>
> I want to set up a page that automatically redirects visitors to
> another page on my web site in say 5 secs.
>
> I cannot see a promt in FP 2002 to facilitate this - is there one?
>
> Or does anyone no a script I can edit into the html to achieve same?
>
> Thank you.



I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html


 
Reply With Quote
 
=?Utf-8?B?U3RldmU=?=
Guest
Posts: n/a
 
      22nd Jun 2005
Sorry JDR, I forgot to mention that the redirect page was in a password
restricted area!!!

The visitor would have already entered a pasword to get to the transfer page
but when it redirects it asks them again for the password.

I guess because we are using the term 'refresh'

Any way around it?

Thanks again Steve

"JDR" wrote:

> Steve,
>
> Enter the follow tag between your Heading tags:
>
> <META http-equiv="refresh" content="5;URL=http://wwww.yoursite.com/page.htm">
>
> Change the url to your specs.
> --
> *****************
> JDR
>
>
> "Steve" wrote:
>
> > Hi,
> >
> > I want to set up a page that automatically redirects visitors to another
> > page on my web site in say 5 secs.
> >
> > I cannot see a promt in FP 2002 to facilitate this - is there one?
> >
> > Or does anyone no a script I can edit into the html to achieve same?
> >
> > Thank you.

 
Reply With Quote
 
=?Utf-8?B?U3RldmU=?=
Guest
Posts: n/a
 
      22nd Jun 2005
Trevor,

Thanks for your help - I like your script nut it still fgives me the same
problem as I have just advised JDR:

Copy of post to him


"Sorry JDR, I forgot to mention that the redirect page was in a password
restricted area!!!

The visitor would have already entered a pasword to get to the transfer page
but when it redirects it asks them again for the password.

I guess because we are using the term 'refresh'

Any way around it?

Thanks again Steve"


In your script I notice it does not use refresh - but it still asks for the
password again.

I got this error message from the server if it helps:

"""HTTP Error 401
401.2 Unauthorized: Logon Failed due to server configuration

This error indicates that the credentials passed to the server do not match
the credentials required to log on to the server. This is usually caused by
not sending the proper WWW-Authenticate header field.

Please contact the Web server's administrator to verify that you have
permission to access to requested resource."""

Any solutions would be appreciated.

Thanks Steve


"Trevor L." wrote:

> here's a fancy one
> <html>
> <head>
> <script language="JavaScript">
> var start=new Date();
> start=Date.parse(start)/1000;
> var counts=10;
> function CountDown()
> {
> var now = new Date();
> now = Date.parse(now)/1000;
> var x = parseInt(counts-(now-start),10);
> if(document.form1)
> document.form1.clock.value = x;
> if(x>0)
> timerID=setTimeout("CountDown()", 100)
> else
> location.href="http://javascript.internet.com"
> }
> window.setTimeout('CountDown()',100);
> </script>
> </head>
>
> <body>
> <center>
> <form name="form1">
> You are being redirected in
> <input type="text" name="clock" size="2" value="10">
> seconds.
> </form>
>
> <p>
> <font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
> by <a href="http://javascriptsource.com">The JavaScript Source</a>
> </font>
> <p>
> </center>
>
> </body>
> </html>
>
> It redirects in 10 seconds - change the setting in setTimeout and
> location.href
> --
> Cheers,
> Trevor L., WIP (Web Interested Person)
> Website: http://tandcl.homemail.com.au
>
> Steve wrote:
> > Hi,
> >
> > I want to set up a page that automatically redirects visitors to
> > another page on my web site in say 5 secs.
> >
> > I cannot see a promt in FP 2002 to facilitate this - is there one?
> >
> > Or does anyone no a script I can edit into the html to achieve same?
> >
> > Thank you.

>
>
> I choose Polesoft Lockspam to fight spam, and you?
> http://www.polesoft.com/refer.html
>
>
>

 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      22nd Jun 2005
Depends on how you are authenticating the user password
You need to process the users log in before you attempt to redirect

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Steve" <(E-Mail Removed)> wrote in message news:0175982F-EA6E-4302-B8C2-(E-Mail Removed)...
| Trevor,
|
| Thanks for your help - I like your script nut it still fgives me the same
| problem as I have just advised JDR:
|
| Copy of post to him
|
|
| "Sorry JDR, I forgot to mention that the redirect page was in a password
| restricted area!!!
|
| The visitor would have already entered a pasword to get to the transfer page
| but when it redirects it asks them again for the password.
|
| I guess because we are using the term 'refresh'
|
| Any way around it?
|
| Thanks again Steve"
|
|
| In your script I notice it does not use refresh - but it still asks for the
| password again.
|
| I got this error message from the server if it helps:
|
| """HTTP Error 401
| 401.2 Unauthorized: Logon Failed due to server configuration
|
| This error indicates that the credentials passed to the server do not match
| the credentials required to log on to the server. This is usually caused by
| not sending the proper WWW-Authenticate header field.
|
| Please contact the Web server's administrator to verify that you have
| permission to access to requested resource."""
|
| Any solutions would be appreciated.
|
| Thanks Steve
|
|
| "Trevor L." wrote:
|
| > here's a fancy one
| > <html>
| > <head>
| > <script language="JavaScript">
| > var start=new Date();
| > start=Date.parse(start)/1000;
| > var counts=10;
| > function CountDown()
| > {
| > var now = new Date();
| > now = Date.parse(now)/1000;
| > var x = parseInt(counts-(now-start),10);
| > if(document.form1)
| > document.form1.clock.value = x;
| > if(x>0)
| > timerID=setTimeout("CountDown()", 100)
| > else
| > location.href="http://javascript.internet.com"
| > }
| > window.setTimeout('CountDown()',100);
| > </script>
| > </head>
| >
| > <body>
| > <center>
| > <form name="form1">
| > You are being redirected in
| > <input type="text" name="clock" size="2" value="10">
| > seconds.
| > </form>
| >
| > <p>
| > <font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
| > by <a href="http://javascriptsource.com">The JavaScript Source</a>
| > </font>
| > <p>
| > </center>
| >
| > </body>
| > </html>
| >
| > It redirects in 10 seconds - change the setting in setTimeout and
| > location.href
| > --
| > Cheers,
| > Trevor L., WIP (Web Interested Person)
| > Website: http://tandcl.homemail.com.au
| >
| > Steve wrote:
| > > Hi,
| > >
| > > I want to set up a page that automatically redirects visitors to
| > > another page on my web site in say 5 secs.
| > >
| > > I cannot see a promt in FP 2002 to facilitate this - is there one?
| > >
| > > Or does anyone no a script I can edit into the html to achieve same?
| > >
| > > Thank you.
| >
| >
| > I choose Polesoft Lockspam to fight spam, and you?
| > http://www.polesoft.com/refer.html
| >
| >
| >


 
Reply With Quote
 
Andrew Murray
Guest
Posts: n/a
 
      22nd Jun 2005
then....when they enter the password, the password script should validate
the password and let the user in ONLY if the password is correct, else
divert to an error page.

"Steve" <(E-Mail Removed)> wrote in message
news:BFCE5614-E7D6-48AF-9603-(E-Mail Removed)...
> Sorry JDR, I forgot to mention that the redirect page was in a password
> restricted area!!!
>
> The visitor would have already entered a pasword to get to the transfer
> page
> but when it redirects it asks them again for the password.
>
> I guess because we are using the term 'refresh'
>
> Any way around it?
>
> Thanks again Steve
>
> "JDR" wrote:
>
>> Steve,
>>
>> Enter the follow tag between your Heading tags:
>>
>> <META http-equiv="refresh"
>> content="5;URL=http://wwww.yoursite.com/page.htm">
>>
>> Change the url to your specs.
>> --
>> *****************
>> JDR
>>
>>
>> "Steve" wrote:
>>
>> > Hi,
>> >
>> > I want to set up a page that automatically redirects visitors to
>> > another
>> > page on my web site in say 5 secs.
>> >
>> > I cannot see a promt in FP 2002 to facilitate this - is there one?
>> >
>> > Or does anyone no a script I can edit into the html to achieve same?
>> >
>> > Thank you.



 
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
Automatic redirect to MS update page. =?Utf-8?B?QyBU?= Windows XP General 3 9th Nov 2005 06:44 AM
How to automatic redirect the wrong URL to the specific page? ABC Microsoft ASP .NET 3 13th Oct 2005 03:03 PM
Automatic Redirect of URL =?Utf-8?B?b3V0b2ZteW1pbmQ=?= Windows XP Internet Explorer 1 10th Dec 2004 06:23 PM
Response.redirect does not redirect from .aspx page =?Utf-8?B?VHJveQ==?= Microsoft ASP .NET 2 18th Oct 2004 08:46 PM
automatic redirect jdh Microsoft Frontpage 2 8th Apr 2004 08:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:04 PM.