Page 1 of 1

PHP Sessions Question..

Posted: Tue May 27, 2008 4:50 pm
by leifnicholz
Hi all,

Can anybody tell me if cmsms's php sessions can work with other databases aside from mysql or postgresql?? See, we are planning to use sequel server as our database and we are wondering if that would be possible.

Thanks,
Leif

Re: PHP Sessions Question..

Posted: Tue May 27, 2008 4:57 pm
by calguy1000
Well, you're asking two different questions.

PHP Sessions (like stuff in $_SESSION) don't use the database.

Next, there's the database stuff

We install adodb_lite as a database engine, which out of the box, which supports these drivers:
  fbsql    gladius  msql  mssqlpo  mysqli  odbc      postgres64  postgres8  sqlitepo  sybase_ase
  generic  maxdb    mssql  mysql    mysqlt  postgres  postgres7  sqlite    sybase

However, we officially only support mysql and postgres in the core.  Other modules may only support mysql.

Re: PHP Sessions Question..

Posted: Tue May 27, 2008 5:11 pm
by leifnicholz
Hi Calguy,

Thanks for the reply. One more question though, so we decided to stick with mysql, would we have any problem running cmsms over https?

regards,
Leif

Re: PHP Sessions Question..

Posted: Tue May 27, 2008 5:13 pm
by calguy1000
CMS doesn't care if the entire site is under HTTPS or http, it's just a matter of setting up your certificates, etc... and changing the config.php file appropriately.

Mixed HTTP/HTTPS sites are a bit more complex in CMS, but there are numerous posts on how people have solved this.

Re: PHP Sessions Question..

Posted: Tue May 27, 2008 5:18 pm
by leifnicholz
Okay, thanks a lot..  :D