Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Trouble with mod_perl, Apache::Session::Postgres, and DBI

by trs80 (Priest)
on Feb 03, 2002 at 22:04 UTC ( #143112=note: print w/replies, xml ) Need Help??

in reply to Trouble with mod_perl, Apache::Session::Postgres, and DBI

Did you create your session table? This was a thing that got me when I first used Apache::Session.
You can see those docs with perldoc Apache::Session::Store::Postgres
I would also recommend adding an additional timestamp field to the table for future session deletion based on time, it has come in handy for me.

Replies are listed 'Best First'.
Re: Re: Trouble with mod_perl, Apache::Session::Postgres, and DBI
by staunch (Pilgrim) on Feb 03, 2002 at 22:54 UTC
    I created the session table the same as the docs specify. And I am using a timestamp field (for expiration).
    I didn't mention those things in my post in an attempt not to distract from the problem.
    If I open separate connections for DBI and Apache::Session::Postgres I can use them both just fine.

    Thanks though.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://143112]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2023-12-02 02:26 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (13 votes). Check out past polls.