Welcome Guest, Not a member yet? Register   Sign In
Lost Session Data
#2

[UPDATE]

It looks as though the last line in the login script is erasing the session data. IS THIS A KNOWN BUG?

PHP Code:
return redirect()->to($redirectURL); 


To work round this, I can included the session variables (that get erased),  in the redirect url.


PHP Code:
$redirectURL landing?logged_in=9&db_conn=c_1&db_prefix=de1 


Then add these values to the session in the target controller.

This seems to work OK for now, but I'm not sure of any security impliactions and whether this would be a recommended work around ?
Reply


Messages In This Thread
Lost Session Data - by 68thorby68 - 02-15-2023, 04:07 AM
RE: Lost Session Data - by 68thorby68 - 02-16-2023, 07:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB