Re: Apache::Session in PostgreSQL

From: Herbert Liechti <Herbert(dot)Liechti(at)thinx(dot)ch>
To: postgres <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: Apache::Session in PostgreSQL
Date: 2000-03-31 18:53:28
Message-ID: 38E4F428.8FB686C3@thinx.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Victor Manuel Jaquez Leal wrote:
>
> Hi!
>
> I want to use the Apache::Session perl module in my WebApps, but when I
> try to insert the session tuple, the Postgres can't handle the string and
> abort the operation.

I had the same problem ;-(. I found no solution for that so I went to
store the session parameters in the file system. I'm also interested
in a solution.

Below the requirements for the Apache::Session::DbI

NAME
Apache::Session::DBI - Session persistence via DBI

SCHEMA
To use this module, you will need these columns in a table
called 'sessions':

id char(16)
length int(11)
a_session text

Where the a_session column needs to be able to handle
arbitrarily long binary data.

Regards Herbie

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Herbert Liechti E-Mail: Herbert(dot)Liechti(at)thinx(dot)ch
ThinX networked business services Stahlrain 10, CH-5200 Brugg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ken Causey 2000-03-31 19:39:06 Re: [INTERFACES] Problem with Large Object Interface of pgsql_perl5
Previous Message Victor Manuel Jaquez Leal 2000-03-31 18:21:11 Apache::Session in PostgreSQL