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

Where am i going wrong!?

Thread began 7/13/2015 7:15 am by russell298997 | Last modified 7/14/2015 12:10 pm by russell298997 | 501 views | 5 replies


Where am i going wrong!?

Trying to secure an area of pages on a site Created a login page called teachers_register.php and that should log them in according to their last name and user id no from the database. should then send them to cover-resources-home.php.

in itself that works ok. But i wasnt all further accesible pages from therein to be secure (i.e. user must be logged in to view them. At the login stage i requested session variables for every database field, but when i try to call any of them on any page past log in i.e. i set a binding on the cover-resources-home.php page (<?php echo $row_rsMembers['MFirstname']; ?>), they dont appear.

I also tried to use the SecurePage function, telling it to compare the seesion value MCoverID (their unique username), with the recordset rsMembers, which is flitered by the same session variable. But nothing works. I cant see the session variables after the log in page and i cant create a rule that says @allow user access if logged in". I have attached the files relevant - is there any way you could point me in the right direction. I couldnt find a tutorial on setting up simple access rules and my access rules are based on the session variables anyway, and they dont seem to pass thru.

I/m sure I/m doing something fundamental wrong here!

Appreciate your help as ever!

Attached Files

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