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

User and Admin Logout?

Thread began 1/15/2010 2:34 pm by woodenboat | Last modified 4/20/2010 5:45 pm by woodenboat | 4037 views | 26 replies


Problem Solved...Rs*

Access Rules for the Administrator

I had mistakenly done two sets of access restriction rules.

The first one was correct, which was the <?php echo $_SESSION['UserLevel']; ?> = 3 (im my case for the administrator, the users rights were working fine, so I was able to login and log out and not see the pages after hitting the back button on the browser.

The second one, which should not exist, and after a few comparisons, trial and errors, I found out that it was:

<?php echo((isset($_POST[""]))?$_POST[""]:"") ?> = <?php echo((isset($_POST[""]))?$_POST[""]:"") ?>

So this restriction RULE should not be there and then I deleted and it worked fine.

So you were right, my problem was somewhere else, it was here in the access restriction rules. But you also mentioned something here
that was not mentioned before or I was not paying attention to it. That this restriction access code should be inside also on the LOG OUT page.

But you know, mistakes like these make us search deeper into the problem and in return we end up learning more.

Thank you for your help in helping me understand the problem.

Rs* Cheers.

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