Welcome Guest, Not a member yet? Register   Sign In
Redirect Back with Value
#3

Thank you.

I use this all the time, and it works very well. The issue is, that when

Code:
return redirect()->back()->withInput(); 
is called,  the it seems the controller is reloaded and this obviously calls the index function, and my index function is expecting a server POST (or GET), so I get caught in an infinite loop.

Is there a way of passing the original variable in the redirect so my controller can process?
Reply


Messages In This Thread
Redirect Back with Value - by 68thorby68 - 09-25-2020, 02:06 AM
RE: Redirect Back with Value - by InsiteFX - 09-27-2020, 04:03 PM
RE: Redirect Back with Value - by 68thorby68 - 09-28-2020, 12:34 AM
RE: Redirect Back with Value - by jozefrebjak - 01-24-2022, 07:05 AM
RE: Redirect Back with Value - by sprhld - 01-24-2022, 11:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB