I am using PostgreSQL, but I will try what you recommend and let you know how it works out.
On Nov 21, 3:57 pm, mdipierro <[EMAIL PROTECTED]> wrote: > Are you using mysql? The problem may be a bug in web2py 1.47 that has > been fixed in an non-backward incompatible way. In 1.47 a session was > picked in a text field. In mysql text fields cannot be longer than > 2**16 bytes. So since 1.48 they are pickled in a blob. > > Try 1.51 again but please drop the web2py_session table and remove the > corresponding .table file from the databases folder. The clear > cookies. Let me know if this fixes the problem. > > Massimo > > On Nov 21, 2:48 pm, morningovermidnight <[EMAIL PROTECTED]> > wrote: > > > Thanks for the reply. I tried deleting all sessions from the database, > > still did not solve the problem for me. In doing some investigation to > > solve the problem, I changed my web2py version from 1.51 to version > > 1.47 (replaced files with the 1.47 source). Now, everything works > > perfectly. Not sure if some of my code is incompatible with version > > 1.51 or not, but I'll be sticking with 1.47 for now at least... > > > Thanks > > > On Nov 21, 3:31 pm, kev <[EMAIL PROTECTED]> wrote: > > > > Try deleting all the session from the database. > > > > On Nov 21, 2:51 pm, morningovermidnight <[EMAIL PROTECTED]> > > > wrote: > > > > > I'm not sure what's happening. It was all working before. I was > > > > storing sessions in the database and working with them throughout my > > > > application with no problem. Now, it seems suddenly, sessions have > > > > stopped working. I don't get a session.flash or any other session > > > > objects returned. When I comment out the session.connect(request, > > > > response, db=db, tablename='session_record') to store sessions on the > > > > filesystem, everything then works perfectly. Once I uncomment that > > > > line to store in the database again, I can no longer access my > > > > session. I checked the database...there are session records being > > > > recorded in the database, but for whatever reason they are not being > > > > returned to the application? Any thoughts? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---