{"action":"opened","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/9484","labels_url":"https://api.github.com/repos/laravel/framework/issues/9484/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/9484/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/9484/events","html_url":"https://github.com/laravel/framework/issues/9484","id":92282732,"number":9484,"title":"using Laravel version 5.0, Session not working as expected HELP!","user":{"login":"msonowal","id":6334484,"avatar_url":"https://avatars.githubusercontent.com/u/6334484?v=3","gravatar_id":"","url":"https://api.github.com/users/msonowal","html_url":"https://github.com/msonowal","followers_url":"https://api.github.com/users/msonowal/followers","following_url":"https://api.github.com/users/msonowal/following{/other_user}","gists_url":"https://api.github.com/users/msonowal/gists{/gist_id}","starred_url":"https://api.github.com/users/msonowal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msonowal/subscriptions","organizations_url":"https://api.github.com/users/msonowal/orgs","repos_url":"https://api.github.com/users/msonowal/repos","events_url":"https://api.github.com/users/msonowal/events{/privacy}","received_events_url":"https://api.github.com/users/msonowal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-01T06:33:19Z","updated_at":"2015-07-01T06:33:19Z","closed_at":null,"body":"I have previously developed using laravel 4.2 then it was working fine.\r\nbut now this always gives or adds new value to the session variable\r\ni.e. Session::has() always returns false.\r\nIs it a bug if not please tell me how to use this in 5.0.\r\n\r\nif(Session::has('ro_no')){\r\n return \"there is data\";\r\n}else{\r\nSession::put('ro_no', 12);\r\nreturn \"new data has been added\";\r\n}\r\n\r\n//framework version updated to the latest 5.0\r\n//using file driver in session config\r\n//please help me I am in a middle of a risk "}}