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

rating

Getting started with Dreamweaver and PHP requirement

Thread began 2/21/2012 4:41 pm by rlubaway4049221 | Last modified 3/20/2012 1:32 pm by Jason Byrnes | 1404 views | 3 replies |

rlubaway4049221

Getting started with Dreamweaver and PHP requirement

Hello - I need help getting started. I have a mysql database ready on my hosting server. And I have a site in Dreamweaver. I did not create the site with PHP. I have also not created the secure content pages yet. We want to have users log in to view secure content. Most of the site is unsecure. I need help setting up and understanding these php pages. I have successfully set up the connection with Security Assist to the MySql php Server for the site. I have also attempted to create pages using Security Assist - login, registration, etc. The site is due Friday for a team to review and I'd like to have the login, register, and secure area feature completed. Here is what I have so far for the site - with no security on it yet.
testdev.digitalinkllc.com/

I have a folder called members, behind which I intend to place all of the secure pages. Users need to be able to move throughout the site, though. To within, and without secure areas without having to log in over and over again. And, they need to be logged out when they leave the site. A secure SSL certificate will be attached once we go live with the organization's actual domain. for now this is on a testing server.

I hope I bought the right product for this. And I hope you can help direct me in setting it up. As I said , the client wants this ready for their focus group by Friday of this week. I am working now on secure content, setting up the Security Assist php pages for registering, logging in, lost password. The database connection has been successfully set up. This is new to me, but I'm a quick learn.

Sign in to reply to this post

Jason ByrnesWebAssist

I'm not exactly what it is yo are asking for help with.

in security assist, there is a tool called "Access pages manager" (Webassist -> Security Assist -> Manage Site Access -> Access Pages Manager)

the security assist wizard creates a default rule called "logged into <your users table name>" where <your users table name> is the name of your users table.

the pages that you will be restricting access to need to be php pages. In the access pages manager, select them, and apply the "logged into <your users table name>" rule.

this will restrict access to those pages to only allow logged in users to view them.

Sign in to reply to this post

rlubaway4049221

reply

I'm not understanding how to set up the log in. I have a log in link in the header - on every page. Do I link that to the login.php that SA created? What is the users experience when I do? I'd like window to open that has the login form. Then, once they are successfully logged in, I'd like the header to say "Welcome xxx Member"

How do I do this?

Sign in to reply to this post

Jason ByrnesWebAssist

yes, you can add a link to your pages that will point to the Login Page created by security assist.

to display the users name, you will need to edit the Security Assist Authenticate User behavior on the login page. Go to Window -> Server behaviors to open the server behaviors panel, in the list of server behaviors, double click the Security Assist Authenticate User behavior to edit it (you may have 2 instances of the Security Assist Authenticate User behavior on the page, you will need to edit both if you do).

On the first step, you may or may not want to change the success redirect to point to another page.

on the third step of the Security Assist Authenticate User behavior, you can select columns from the user table to store in session variables when the user logs in, click the plus button and select the Name column to store the users name.

on the bindings panel, expand the session section to access the binding for the name session variable, you can add that binding to your page to show the logged in users name.

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

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