cancel
Showing results for 
Search instead for 
Did you mean: 
maitane
Level 7

Block a few seconds and then redirect??

Jump to solution

Good morning.

We are currently working in the following way:

Once the client tries to access a disallowed web, this access is blocked and a template is displayed indicating the reason for blocking and giving the option to submit a review request.

If the client press the submit button the request is sent and another template is displayed to the user, indicating that the request has been sent and will be studied.

The problem is that every time you refresh this last page, a request is sent and this can cause a mass-mailing spam.

I do not know if this is possible but we want to do the following:

What we want is that after sending the review request, the second template (which says that the review request has been submitted and will be discussed) will be displayed to the client only a few seconds and then redirect to another page. I mean, block a few seconds and then redirect.

Is this possible?

How can we get it?

Thank you very much.

Best regards.

0 Kudos
1 Solution

Accepted Solutions
eelsasser
Level 15

Re: Block a few seconds and then redirect??

Jump to solution

First, there is an option in the Email Notification settings called "Enable duplicate email prevention". This will help reduce the number of duplicates.

Second, you can program the last confirmation page however you want to include a REFRESH meta tag or javascript that will redirect to the destination you want.

Example of a meta tag:

...<head>...

<meta http-equiv="refresh" content="5;url=http://google.com">

...<head>...

Example of Javascript

...<script>

function timedRefresh()

{

resizeWindow();

setTimeout("location.href='http://google.com'",5000);

}

window.onload=timedRefresh;

</script>...

2 Replies
eelsasser
Level 15

Re: Block a few seconds and then redirect??

Jump to solution

First, there is an option in the Email Notification settings called "Enable duplicate email prevention". This will help reduce the number of duplicates.

Second, you can program the last confirmation page however you want to include a REFRESH meta tag or javascript that will redirect to the destination you want.

Example of a meta tag:

...<head>...

<meta http-equiv="refresh" content="5;url=http://google.com">

...<head>...

Example of Javascript

...<script>

function timedRefresh()

{

resizeWindow();

setTimeout("location.href='http://google.com'",5000);

}

window.onload=timedRefresh;

</script>...

maitane
Level 7

Re: Block a few seconds and then redirect??

Jump to solution

Thanks very much!!!! That´s just we were looking for

Best Regards

0 Kudos