close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Why redirect to profile?

Thread began 3/11/2010 8:35 pm by akstudio | Last modified 3/12/2010 1:12 pm by akstudio | 713 views | 1 replies

akstudio

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")){
WA_Auth_RestrictAccess("users_LogIn.php");
}


however, on the profile page, I see this:

if (!WA_Auth_RulePasses("Logged in to users")){
WA_Auth_RestrictAccess("users_LogIn.php");
}

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.

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