• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem Storing an object in a session

#1
[eluser]Oussama M Billah[/eluser]
Hello,

When I try to store an object in a session I get the following error:

Message: Object of class ShoppingCart could not be converted to string

Filename: libraries/Session.php

Line Number: 683

I tried the solution in the following thread:
http://ellislab.com/forums/viewthread/95690/#486198

but when i add the lines that check if the data is an object, when i click on the button that will call the given view nothing happends. It just reloads the same page.

any help?


Messages In This Thread
Problem Storing an object in a session - by El Forum - 09-02-2009, 10:58 AM
Problem Storing an object in a session - by El Forum - 09-02-2009, 11:47 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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