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

Security Assist - custom redirect?

Thread began 12/14/2010 3:31 pm by omar419219 | Last modified 12/15/2010 12:03 pm by omar419219 | 1153 views | 3 replies

omar419219

Security Assist - custom redirect?

I have a database of five users.

i.e.

username: alpha
username: beta
username: gamma

they each have their own dedicated "dashboard: page within the same directory as the rest of the Secuirty Assist created PHP files

ie.
alpha.php
beta.php
gamma.php


I have also created a field within the database called "userpage" so each record has a corresponding value
i.e.e

record 1:
username: alpha
userpage: alpha.php

What I need is to customize the log in page so upon successful log in, the user gets redirected to their corresponding "dashboard" page.

the line I think I need to edit is within Log in page line 14 (Im guessing)

"successRedirect" => "users_Profile.php",

IDEALLY the value/url should be a result of something like: username+."php"
or
if that is not possible, it could be the corresponding value of the field "userpage"

i.e.
"successRedirect" => CALL_TO_THE_DATABASE_FOR_VALUE_OF_USERPAGE

Does this make sense? Is this possible?

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