close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Why redirect to profile?

Thread began 3/11/2010 5:35 pm by akstudio | Last modified 3/12/2010 10:12 am by Jason Byrnes | 1068 views | 1 replies |


Why redirect to profile?

Im hacking my way through the reg system, and I got it all into my site just fine, so I thought I would now start to go through the process of being a user and adjust the flow a bit.

I noticed that each page redirects to the profile, so I went ahead and made a "users_Home.php" and would rather have them redirected there instead.

So far so good.

Now, I need to create a few sub-pages off of this "users_Home.php page. So, I open up the protected_Page.php and save it as .. in this example... "watch.php"

I have also gone through the entire sites files, and anything that is protected, I am redirecting to "users_Home.php" using security assist.

My question is.... is this method correct?

The reason I ask is... on the "protected_page" I see this:

if (!WA_Auth_RulePasses("Email Confirmed")){

however, on the profile page, I see this:

if (!WA_Auth_RulePasses("Logged in to users")){

This prebuild site redirects the to profile...

What would be the correct method in which I redirect any and all pages to "users_Home.php - and furthermore.. do I need code example 1 or code example 2 pasted above) on my newly created sub pages?

I dont want them to go to the profile page at all when logging in, that should be a choice off the "users_Home.php page.

Sign in to reply to this post

Jason ByrnesWebAssist

you change where the user is redirected on login by editing the Login page.

Find the following line:

and change it to:

[php"successRedirect" => "users_Home.php",

The two rules you posted are used for different things
"Logged in to users" means that the user has successfully logged in with a valid username an password

"Email Confirmed" means the username and password where correct AND they have verified there email address by clicking the link in the email that is sent on initial registration.

the users_Home.php page should only be restricted at the "Logged in to users" level, the rest of your protected pages should be restricted at the "Email Confirmed" level.

Sign in to reply to this post

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