Re: Off Topic - Apache::Session::MySQL and invalid Session IDs

2005-10-19 Thread Risanecek
On 10/17/05, Jonathan <[EMAIL PROTECTED]> wrote: > I'm hoping someone here has a suggestion- > > I wrote my mod_perl app with Session::File (local development) and am > migrating it to Session::MySQL so it could cluster > > I ran into this issue: > > If I try to tie with a session id that does

Re: Off Topic - Apache::Session::MySQL and invalid Session IDs

2005-10-18 Thread John ORourke
Hi Jonathan, I don't know the Session:: stuff but it sounds like something I did with DBI - I use persistent handlers so I needed my own custom version of Apache2::DBI. Why not subclass Session::MySQL and have the new() (or equivalent) method do your validation on the handle before calling $

Off Topic - Apache::Session::MySQL and invalid Session IDs

2005-10-17 Thread Jonathan
I'm hoping someone here has a suggestion- I wrote my mod_perl app with Session::File (local development) and am migrating it to Session::MySQL so it could cluster I ran into this issue: If I try to tie with a session id that doesn't exist in the db, the app catches an Apache::Session d

Re: Off Topic - Apache::Session::MySQL and invalid Session IDs

2005-10-17 Thread Perrin Harkins
On Mon, 2005-10-17 at 14:18 -0400, Jonathan wrote: > I ran into this issue: > > If I try to tie with a session id that doesn't exist in the db, > the app catches an Apache::Session die The standard approach here is to eval{} that and if it throws an exception you check to see if it's the on

Off Topic - Apache::Session::MySQL and invalid Session IDs

2005-10-17 Thread Jonathan
I'm hoping someone here has a suggestion- I wrote my mod_perl app with Session::File (local development) and am migrating it to Session::MySQL so it could cluster I ran into this issue: If I try to tie with a session id that doesn't exist in the db, the app catches an Apache::Session die