Hi Guys,

there have been recently some bugs raised about storing sessions in database
in symfony 1.1

Reason for this was a refactoring that made all of the different types of
SessionStorage use the same class hierarchy and common functionality.
However there have been tiny bits that needed to be different.

I just commited two fixes for the stuff and its passing all my manual tests
and the few unit tests we have on this already.

 

I hereby kindly ask all user who had problems with this to check the latest
svn resources from:

 

Fixing MySQL:

http://trac.symfony-project.com/changeset/9662

 

Fixing Creole:

http://trac.symfony-project.com/changeset/9663

 

When testing please take extra care that you use the correct database
connection. E.g:

factories.yml:

 

 storage:

    class: sfMySQLSessionStorage

    param:

      database:    mysql

      db_table:    sessions

      db_id_col:   id

      db_data_col: data

      db_time_col: time

 

database.yml:

  mysql:

    class:      sfMySQLDatabase

    param:

      dsn:      mysql:dbname=sf_test;host=127.0.0.1

      phptype:  mysql

      host:     127.0.0.1

      database: sf_test

      username: root

      password:

 

Please also take care that the id column can take a "string"-id. And the
timestamp an integer. The data column should take text/blob.

 

I really hope to have all issues sorted out by now, but there are just too
many combinations possible so that there is still a chance that something is
not working. Please open a ticket on trac or mail me directly in that case.

 

Thanks

.: Fabian


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to