Re: Managing session state over multiple servers

1999-12-17 Thread dreamwvr
hi, AFAIK hidden fields will do it if that is what you asking.. now here's aquestion that has been driving me batty.. here goes i hope that i have been descriptive enough. i have at the top of one of my perl program a variable that is called. $Mystuff = $field{'Mystuff'}; #the above contains the

Managing session state over multiple servers

1999-12-16 Thread Simon Rosenthal
Hi: We're planning on migrating to an Apache::Session + mysql approach for managing session state, for a large-ish site hosted on multiple servers. While there have been many useful discussions on this list concerning the technologies involved, I haven't seen many war stories from the field,

Re: Managing session state over multiple servers

1999-12-16 Thread James G Smith
Simon Rosenthal [EMAIL PROTECTED] wrote: b) Does anyone have redundant database servers ? If so ... are there any implementation gotchas ? and if you have a single server, how does session management work when it goes down ? (I'm pretty happy with the hardware - Suns - which we have, but a

Managing session state over multiple servers

1999-12-16 Thread Robert Locke
Hi Simon, This is not an answer to any of your questions, but your mail reminded me of a "gotcha" relating to Apache::Session and Apache::DBI that is probably totally obvious to the gurus on this list. When Apache::Session::DBI connects to a database, it calls: $self-{dbh} = DBI-connect(

Re: Managing session state over multiple servers

1999-12-16 Thread G.W. Haywood
Hi there, On Fri, 17 Dec 1999, Robert Locke wrote: If you use Apache::DBI, make sure that you call "connect" with the same arguments as above in your other scripts or you will find yourself with more than one connection/process to the database, which may not be your intention. See the

Re: Managing session state over multiple servers

1999-12-16 Thread Robert Locke
All hail the Guide! :-) However, I would like to say that Apache::Session::DBIStore does the following: $self-{dbh} = DBI-connect( $datasource, $username, $password, { RaiseError = 1, AutoCommit = 1 } ); so, if, somewhere else,

Re: Managing session state over multiple servers

1999-12-16 Thread Tom Mornini
On Fri, 17 Dec 1999, Robert Locke wrote: If you use Apache::DBI, make sure that you call "connect" with the same arguments as above in your other scripts or you will find yourself with more than one connection/process to the database, which may not be your intention. I spotted this by