close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Noob Question - Session Variables

Thread began 3/02/2010 12:15 pm by dinohorn397192 | Last modified 3/02/2010 3:44 pm by Jason Byrnes | 1000 views | 1 replies |

dinohorn397192

Noob Question - Session Variables

The protected page, by default is users_Profile.php. Let's say I have a basic static page (called membersonly.php with no forms) and I want to protect that page. What's the best way to do that? Isn't there a session variable that should pass over to the membersonly.php?

Can I use Security Assist or any other of your tools to accomplish this?

Sign in to reply to this post

Jason ByrnesWebAssist

See the "How to Restrict Access to pages on your site" tutorial in the How To Section of the user Registration solution pack support page:
user-registration/



  Applying the restriction rule
The protected_Page.php page is provided to confirm that your log in feature, and access restriction works on the User Registration Solution Pack. We will use this same code, to apply the same type of restriction to our pages.
1. Open the protected_Page.php file.
2. Highlight lines 1 through 6.
3. Press Ctrl (Cmd) + C to copy your selection.
4. Open any page you wish to apply this restriction to.
5. Place your cursor in the first line of the code.
6. Press Ctrl (Cmd) + V to paste this code.
Note: If the page you are copying this code to is not in the same location as the protected_Page.php file, you will need to update the path that references WA_SecurityAssist/Helper_PHP.php.  
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...