- This topic has 2 replies, 2 voices, and was last updated 13 years, 8 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › Extend eMember User Cookie session to Match WP User Session
Hey there,
I am wondering where or what file I should modify to extend the eMember User Cookie session to match WordPresses.
Myself and other users have noticed that they get logged out of eMember before they do for WordPress, so I would like to have them in sync session wise anyways.
Anyone help me out?
Thanks!
Search for the “setcookie” method in the “Auth.php” file (there will be few occurrences). Change the time value to whatever you like (I think by default is it set to 2 days if you check the “Remember me” checkbox)
Perfect, ya I actually changed it a few days ago and its working fine now
There are 3 instances of 3200 which I moved up to 7400 which has fixed it
Thanks again!
Keep up the great work!