Welcome Guest, Not a member yet? Register   Sign In
session()->has('???') always blank in view file
#2

If I understand correctly the code you show is inside of the ajax.success callback. If that is true then the problem is that the PHP will only be evaluated once when the page is first loaded but not when the javascript callback executes.

Instead of pulling the value from the session, you should return the value to ajax.success.
Reply


Messages In This Thread
RE: session()->has('???') always blank in view file - by dave friend - 06-22-2020, 08:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB