I once did a one-off mod of Apache::Session to do just 
this but eventually gave up and just changed my table 
names. It was to hard to keep in sync with new releases of 
Apache::Session and I don't have enough faith in my 
ability to send a real patch :)

So I think its a natural path. When you create your 
session object send it some args for its table name as 
well as field names, that would give a lot of flexiblity 
as well as allowing apache::session to morph into existing 
data structures.

John-

On Wed, 10 Apr 2002 14:00:44 -0700
  "Vuillemot, Ward W" <[EMAIL PROTECTED]> wrote:
>Has anyone ever thought to have the table name 
>modifiable?  E.g. instead of
>'sessions', you could set it to something like 
>'preferences' for a given
>instance.  I wanted to maintain session information, but 
>also preferences
>that are attached to a given username.  I could just put 
>the two within the
>same table. . .but as I am anal, I would rather see the 
>data separated.
>
>I was thinking of doing it myself -- but thought it might 
>be a worthwhile
>mod for the entire community.  And it saves me 
>maintaining two sets of
>nearly identical code...and of course, there might be 
>good reasons NOT to do
>this.
>
>Ideas?  Thoughts?
>
>Cheers,
>Ward

Reply via email to