shahidkarimi

Experience

1,590

0 Best Reply Awards

  • Member Since 2 Weeks Ago
  • 14 Lessons Completed
  • 0 Favorites

13th January, 2018

shahidkarimi left a reply on Sessions Are Not Saving : Bug In Laravel Core • 5 days ago

$currency is coming from form input field. $currency = Input::get('currency')

shahidkarimi left a reply on Sessions Are Not Saving : Bug In Laravel Core • 5 days ago

Once something saved in the session it should be persistent. Yes of course on refreshing it should be there.

shahidkarimi left a reply on Sessions Are Not Saving • 5 days ago

Not working, for sure its a bug. I face this in every project.

2nd January, 2018

shahidkarimi started a new conversation Sessions Are Not Saving • 2 weeks ago

session()->put('currency', $currency); session()->save();

If I immediately dd the session it shows the new value. But in another place, it shows the old value means not saving. I have been facing this issue with every Laravel project.

I tried with all session drivers, redis, array, file and databse. Anybody, please give a permanent solution of this issue.

shahidkarimi left a reply on Save(Input::all()) - Not Saving • 2 weeks ago

This session *** issue in laravel has been making the pain in the ass for the last five years.

shahidkarimi started a new conversation Calling Put On Session Getting Error. Please Help • 2 weeks ago

ERROR Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Call to a member function put() on null

WHEN CALLING $request->getSession()->put(['currency' => $currency]);

31st December, 2017

shahidkarimi started a new conversation How To Validate Form/API Input In Repository Pattern? • 2 weeks ago

I liked the repository pattern to hide business logic from the controller. However, I didn't find anything related to input validation. Yes, we can do that in the controller, but that may not be the appropriate way.

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.