close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Need different Keep me logged in and Remember me for visitors side and admin side

Thread began 5/08/2013 8:33 am by mrs | Last modified 5/30/2013 11:24 am by mrs | 650 views | 6 replies

mrs

Yes, I know using separate tables for users and admins is possibly not the best method for a number of reasons, but I am doing this because I have numerous levels of of users, and numerous levels of admins. So each will only have access to a certain part of the website to be able to edit or use, and due to the admin side consistently changing access levels (decisions by committee), I found it easier to handle it this way.

Anyways... I am trying to edit the 'WA Set Cookie Values' for the four items in the server behaviours panel by double-clicking them and then naming them accordingly, but it doesn't seem to be changing anything. So I thought I'd do it by hand and just wanted to double-check that I am changing everything needed.

Here's the code created by the security assist wizard:

if ((isset($_POST["UserUpdate_submit"])&&(isset($_COOKIE["RememberMeUN"]))&&(isset($_POST["User_Update_group_Username"])) && $_POST["User_Update_group_Username"] != "")) {
setcookie("RememberMeUN", "".((isset($_POST["User_Update_group_Username"]))?$_POST["User_Update_group_Username"]:"") ."", time()+(60*60*24*30), "/", "", 0);

Could you confirm the code I need to change is:

$_COOKIE["RememberMeUN"] to $_COOKIE["AdminRememberMeUN"]

and

setcookie("RememberMeUN" to setcookie("AdminRememberMeUN"

Is there anything else I need to change?

Thanks.

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