We don't bite newbies here... much | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Ok, I'll have to try and explain things better. I know how Apache::Session works and I know that it uses Storable to serialize data types to store in the database. What I am trying to say, have you thought that using Apache::Session is maybe the best possible solution to your problem? Looking at your documentation (and pointed out by Screamer) you can't use arbitrary data structures. I'm not sure where this limitation comes from but it means that you don't need the flexibility gained by using Storable. From your PHP code, it seems that you have to exec a perl script every time you read or write a variable. This seems very inefficient to me. I don't think it would be to hard, I had a quick look at the source for Apache::Session::MySQL and you can probably work from this and it's subclasses (reusing the one for locking etc) to create an Apache::Session module that doesn't use Storable. gav^ In reply to Re: Re: Using Sessions between perl and php.
by gav^
|
|