close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

redirect needs to be refreshed

Thread began 7/08/2010 1:04 pm by chssagmi366905 | Last modified 7/20/2010 11:40 am by chssagmi366905 | 1521 views | 13 replies

Jason ByrnesWebAssist

the purpose of the page access rule is to determine if the user is allowed to view the page, if not, then redirect them to another page.

The issue you are having is one with the way firefox deals with the redirects. Fire fox will only allow a handful of redirects to occur before throwing up the message that the page is redirecting in an endless loop.

a better strategy for what you are trying to do is to create a separate page that will redirect to the correct page based on user level and set the login page to redirect to this page.

lets say for example sake that the name of the page is userlevel.php and the user level session is named "UserLevel", you would set the login to redirect to the userlevel.php page and then add the following switch case code:


if(!session_id()) session_start();
$_SESSION['UserLevel']) {
header("location: homepage1.php");
header("location: homepage2.php");
header("location: homepage3.php");
header("location: homepage4.php");
header("location: login.php");

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





Ease of use


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...