samedi 8 octobre 2016

laravel 5.2 session flash working on localhost but not working on server?

Session flash working fine on local but not working on server in laravel5.2 ?

In controller

Session::flash('key', value"); return Redirect::to('/');

 In view

@if (Session::has('key') && Session::get('key')!='')

alert('.......'); @endif

})



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire