session database schema using postgresql

Hello,

Anyone have any idea about the table structure to be created for storing session ?
I thought it will be automatically created but it’s not.

I tried this : http://scriptcaseblog.net/learning-how-to-use-sessions-on-database/

Created the table, but i got csrf token not valid after authenticating.

I’m using SC [SIZE=12px]8.1.067. Any idea.[/SIZE]

i found a bug on
_lib/prod/lib/php/nm_session.php
schema and table name is not merged correctly.
if my schema is ‘bla’ and tablename is ‘sc’, it will try to insert into blasc instead of bla.sc

so i modified it, but after i authenticate it show ‘unauthorized user’.
i’m using ldap, tried using the first user (admin right) also normal user.
I’m sure those user have the rights.

Any idea ?