CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Advanced:



May 22, 2003, 9:40 PM

Post #1 of 5 (2448 views)
MongerPersist Can't Post

I'm looking for a good session handling module; something similar to PHP's....their's is really good. I can't seem to find anything nearly as good for perl. I tried PHP::Session, looks like it might work, but I'm working on a script I'm gonna distribute to others and not everyone will have access to installing that and its dependecies. CGI::Session is REALLY slow...not any faster than connecting to mysql and then just doing a little something with it. I found this one called MongerPersist...very fast. I was wondering if one of you really super experts could look at the code and let me know if it's secure, as I want something fast and secure at the same time.
Attachments: (21.2 KB)


Jun 3, 2003, 6:21 PM

Post #2 of 5 (2430 views)
Re: [erichmusickwc] MongerPersist [In reply to] Can't Post is pretty good you just need to write a error handling wrapper around it.

Apache::Session works well also


Jun 3, 2003, 7:00 PM

Post #3 of 5 (2428 views)
Re: [Haunter] MongerPersist [In reply to] Can't Post

How do these two methods compare (time-wise and security-wise) to, say, using MongerPersist or my own queries to a mysql database?


Jun 3, 2003, 8:46 PM

Post #4 of 5 (2425 views)
Re: [erichmusickwc] MongerPersist [In reply to] Can't Post

Well This is my opinion. Both are basically tied hash interfaces to some extent. Apache::Session take better advantage of embedding and mod_perl. So if you are on an Apache Server and mod_perl is installed it might be a better answer.

CGI::Session has a few really nice functions but does not use mod_perl speed benefits directly. Although it still is quite fast if you implement you script correctly. By this I mean a DB connect at the begining and CORE exit of the script.

I have used CGI::Session more so I like it better. It is also crossplatform to IIS if you happen to find yourself on that server. This is the main reason why I use it. It is more portable.


Jun 6, 2003, 7:57 PM

Post #5 of 5 (2414 views)
Re: [Haunter] MongerPersist [In reply to] Can't Post



Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives