close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Page Access

Thread began 8/17/2010 9:33 am by rob294118 | Last modified 8/17/2010 1:25 pm by Jason Byrnes | 588 views | 3 replies |


Page Access

I have Powerstore 3.

I set up the page access for a page to be accessed by the admin only. If the admin is not logged in, go to the login page.

Where do I set up who the admin is since it prompts for username / password to login?

How would I add to the "Login Menu" (login register logout view cart) to include a menu item only if the admin is logged in?


Sign in to reply to this post

Jason ByrnesWebAssist

The admin user in PowerStore is the user account that is used to access the Admin pages.

you can show a region on the page if the administrator user is logged in using the following code:

<?php if(WA_Auth_RulePasses("Administrator")){ // Begin Show Region ?>

Code to display
<?php // End Show Region ?>
Sign in to reply to this post


I'm logged into the admin account but the code does not show my menu item.

If I'm not logged into the Admin account and try to access the quoteresponse2.php page, I have it so you go to the admin login page. After I login, I want to be redirected back to the quoteresponse2.php. How do I do that?

I attached the 2 files.

Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

on the index page, you need to following code to attach the security assist helper file:
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>

on the login page, make sure the forms action is set to post querystring variables that are passed in:

action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?>"

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