[Cartoweb-users] How to set session to database

Oliver Christen oliver.christen at camptocamp.com
Mon Sep 17 03:08:30 EDT 2007


you have set session.save_handler = user
but is this "user" handler defined somewhere ?
are you using the function session_set_save_handler(...) also ?

could you do a phpinfo() and send me the result, im curious to know which module you use for that database session handling

regards
Oliver
  ----- Original Message ----- 
  From: Broun Uganda 
  To: Oliver Christen ; cartoweb-users at lists.maptools.org 
  Sent: Friday, September 14, 2007 4:06 PM
  Subject: RE: [Cartoweb-users] How to set session to database


  Yes there is an error,
  session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /ms4w/tmp) in C:\ms4w\apps\cartoweb3\client\Cartoclient.php on line 404
   
  This is because i changed session.save_handler = files to session.save_handler = user

  Broun Uganda





----------------------------------------------------------------------------
    From: oliver.christen at camptocamp.com
    To: tekuganda at hotmail.com; cartoweb-users at lists.maptools.org
    Subject: Re: [Cartoweb-users] How to set session to database
    Date: Fri, 14 Sep 2007 08:00:11 +0200


    Hi

    we have never tried using session save in database so I have sadely no answer.

    do you have any error message?

    regards
    Oliver
      ----- Original Message ----- 
      From: Broun Uganda 
      To: cartoweb-users at lists.maptools.org 
      Sent: Thursday, September 13, 2007 4:34 PM
      Subject: [Cartoweb-users] How to set session to database


      I have sent in this query before, I know, but got no answer yet!  Please help here.

      Am using php5 and Apache2 and i have other web pages other than cartoweb that i want to save their session data in a database. When i change the php.ini file  Session.Save_handler = files to Session.Save_handler = user and session.save_path="database_table", Cartoweb doesn't work. What do i do to change cartoweb to save and retrieve its session data from postgres database?

      Thank you.

      Broun Uganda



--------------------------------------------------------------------------
      Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it! 
--------------------------------------------------------------------------


      _______________________________________________
      Cartoweb-users mailing list
      Cartoweb-users at lists.maptools.org
      http://lists.maptools.org/mailman/listinfo/cartoweb-users




------------------------------------------------------------------------------
  Connect to the next generation of MSN Messenger  Get it now! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20070917/b4fd3bf4/attachment.html


More information about the Cartoweb-users mailing list