close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Can Security Assist Do The Following...?

Thread began 10/15/2009 1:07 pm by kiwinicknz383387 | Last modified 10/16/2009 9:46 am by Jason Byrnes | 1228 views | 1 replies |

kiwinicknz383387

Can Security Assist Do The Following...?

Hello,

Could someone please advise me on this (i have attached a diagram as a reference)...

Our Clients first arrive at the Lochiel Print Home Site and upon entering their username & password (preferably supplied by us but not essential) they are then redirected to the appropriate client site where they can place orders.

The first time they arrive we would like to leave in place the ‘My Profile’ section so they can fill in there details. This means when they login through our home site on their next visit they are automatically logged in to their appropriate client site and they can go through the checkout procedure without having to manually fill out billing forms again etc.

It would be great to have just the one PowerStore database to cover all of these sites, is this possible?

Is this login behaviour setup possible with Security Assist?

If so without any coding knowledge? etc

Kind regards
Nick

Sign in to reply to this post

Jason ByrnesWebAssist

The login portion can be done.

you would need to modify the users table and add two new columns. One for clients home page, this column will store the page name of the clients home page (clientSite1.php, clientSite2.php, etc...). The other to indicate if the profile has been updated, set this to a default value of 0. you will need to modify the update record server behavior on the profile page to set this value to 1 when the profile is updated.

Next, on the login page, double click the authenticate user server behavior. On the third page, you can select column from the users table to store in session variables. select the new ClientsHomePage and profileUpdated columns.


In the SecurityAssist Access Rules manager, you can create a new rule for profileUpdated.

Set it to allow if. Click the Lightning bolt next to value and select the ProfileUpdated session variable. Set the Criteria to Equal and set the comparison to 1.


Next apply the SecurityAssist page access behavior to the profile page, use the profileUpdated rule. Click the folder icon next to "if Access denied Go to". In the Select File Dialogue, click the Data Sources radio button and select the ClientsHomePage session variable.

applying this rule to the profile page will make it so the profile page can no longer be accessed if the profile has been updated, you'll probably want to make a copy of the profile page that does not have the access rule applied to it, and link to that profile page in your menu.


As for using the same power store database for each client store, you will only be able to do that if each store sells the exact same items.

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