Jump to content

Recommended Posts

Posted

A client of mine is having an issue whereby Processwire is not remembering their logged in status. As part of the site, they are sent an email telling them there has been an update on the site. When they click the link, Processwire determines that they are not logged in and sends them to the log in page. When they log in, they get sent to the home page, rather than the link they clicked in the email.

Does Processwire not create a session cookie? It seems fine for me - I can visit /processwire hours later and it remembers me. Also, if the user has purposely logged out, is there a way to remember the requested URL and redirect to it once the user has logged in?

Posted

Take a look at the information about session fingerprinting in wire/config.php. If you'd like to change the config for it please remember to copy it to the site/config.php first.

Posted

My client just asked me want to put a Remember Me checkbox on custom front-end user login form.

As I knew PW is member a user login, so a checkbox is not necessary in PW. But I want to know how long does pw keep a user login session ?

Posted

The "remember me" functionality is rather a increase in session timeout instead of a toggle for using sessions or not.

$config->sessionExpireSeconds = 86400;
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...