Not sure what I am doing wrong but users aren’t staying logged in too long for some reason. I have the cookie set but I guess it shows session? Instead of date expiring. Not sure if I am doing it right, or maybe its doing it for www and not the base URL?
For the cookie options you also need to set the Remember Me in the login step to true. It will then store the user information in a cookie. If you don’t use the Remember Me option it will only be using a session and the user get logged out when the browser closes or the server session expires (depends on your web server, normally around 20 minutes of inactivity).
ok, @patrick I’ve officially tried 1, true and {{true}} and it still will not write a cookie for security? What else can I try or other thing to troubleshoot? This logging my users out is killing me. here is my login and cookie info:
I would start with modifying your Domain property. Here is some info that will help you choose what to set:
Domain attribute
The Domain attribute specifies which hosts are allowed to receive the cookie. If unspecified, it defaults to the same origin that set the cookie, excluding subdomains . If Domainis specified, then subdomains are always included. Therefore, specifying Domain is less restrictive than omitting it. However, it can be helpful when subdomains need to share information about a user.
For example, if Domain=mozilla.org is set, then cookies are available on subdomains like developer.mozilla.org .
@teodor can i private message you the login creds and you can try and look to see whats going on. this is killing me it should be so easy. I don’t know what I"m missing
@patrick was able to help me out. He just tried it and it worked lol. Problem was that when I hit save on my security action script it wasn’t updating the security provider file thats in dmxconnect/modules/security providers to the live site. I manually copied it over there and then it started working after that.