Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Front End User Login Plugin (XML Or Database - ver: 3.0)
(2019-05-08, 04:00:42)Fabmue Wrote: i just integrated feul into my page. the login works fine, but after every page reload (e.g. after hitting a link in the nav) i am logged out. i think there is an error with the session... any ideas? actually i want to be logged in till i hit the logout button or close the browser/tab.

I also beat my head against this issue but I don't believe it was specific to this plugin.  My problem was that I was loading the session variables with complex objects preventing the session from saving.

My solution was to cast the username to a string.

Code:
$_SESSION['Username'] = (string)$userData->Username;

Other possible solution can be found here: https://stackoverflow.com/questions/1969...orking-php
Reply


Messages In This Thread
Example site down, having issues - by Rich_K - 2012-11-14, 07:36:37
login box won't display - by horstuff - 2015-11-20, 04:57:25
RE: Front End User Login Plugin (XML Or Database - ver: 3.0) - by AnthonyV - 2021-08-13, 08:09:04



Users browsing this thread: 4 Guest(s)