• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Session start is deleting my data

in order to add an item to the session I am using
and then 
session()->set('foo', 'bar');
and the data is stored in the db

but when I what to read the session items when I do a 
it is empty but I can see the "foo" item in the database

the moment I do a 
all data gets overwritten

how can I read the session data without running the start() function that clears my old data?

and how do I store a new item in the session without using start() because then I loose again the session items!

Thank you in advance

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.