close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Dreamweaver removed the head tag page refresh code, how do i refresh to another page after the code on the current page has been rendered? thanks Nick

Thread began 10/28/2016 8:21 am by nickj | Last modified 10/31/2016 10:13 am by Ray Borduin | 692 views | 3 replies |

nickj

Dreamweaver removed the head tag page refresh code, how do i refresh to another page after the code on the current page has been rendered? thanks Nick

I have a page which sets a session variable from a recordset based upon the session set in an insert on the previous page. I want this intermediate page to set some new variables and then refresh to a third page.

Sign in to reply to this post

Ray BorduinWebAssist

You could add a server side redirect on top of the page immediately after setting the session variable like:

<?php
header("location: index.php");
?>

Sign in to reply to this post
Did this help? Tips are appreciated...

nickj

Great but will this redirect immediately or will the rest of the pages code still be processed? What I really want is a refresh to a different page after say 5 seconds.

Sign in to reply to this post

Ray BorduinWebAssist

You can use javascript to redirect after 5 seconds like:

<script>
setTimeout("document.location.href='index.php'",5000);
</script>

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...