close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

SA Redirect to two pages

Thread began 1/15/2010 5:41 am by jim286478 | Last modified 1/19/2010 3:53 pm by jim286478 | 1388 views | 5 replies

Eric Mittman

You could do this with a single page rather than two different pages. The idea is that you have a rule for the login, then you have one rule for each of the two types of users.

The page would start out with a logged in user rule applied to the page. If you do this both on the same page then you just need to have show regions for the different users. You would create both displays then use the show region server behavior to make each area only visible to the appropriate users. For example if you had rules for logged in, user type1, and user type2 then the page might be organized like this:

if not logged
send the user to the login page

if user is type 1
show the type 1 information

if the user is type 2
show the type 2 information

So the page would start with an access restriction rule for logged in so that only logged in users can access the page. Next on the page you have your listings for both types of users. Then for the first listing you would select area of the page and apply the show region server behavior, select your rule for the type 1 users. You would then do this same thing for the second display that you have on the page but you would apply the rule for the type 2 user.

You should take a look at the help documentation for Access control > Show region server behavior. There is also a solution recipe on using the show region on the support page under Solution Recipes:

securityassist/

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