Re: mysql

2004-07-04 Thread Stas Bekman
David Arnold wrote: All, What should I be reading if I want to learn how to use modperl 2.0 with mysql? You just use it as with any other perl program. The only thing you want to use is Apache::DBI and a few other nuances explained here http://perl.apache.org/docs/1.0/guide/databases.html --

Re: Declaring constant

2004-07-04 Thread Charles C. Fu
On Jul 3, 2004, at 17:53, David Arnold wrote: use constant SECRET_LENGTH => 14; Anyone have any pointers to an explanation of this syntax? Run "man constant". -ccwf -- Charles C. Fu Founder Web i18n, LLC www.web-i18n.net -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.a

Re: Alias really helpful -- Any more good tips like this?

2004-07-04 Thread Stas Bekman
Please don't forget to send the questions to the modperl list, not me. Thank you. David Arnold wrote: Stas et al, I found this tip from Stas very helpful: % lookup connection To use method 'connection' add: use Apache::RequestRec (); % lookup remote_ip To use method 'remote_ip' add:

Requests to the same process

2004-07-04 Thread João Sá
Hi everybody, I need to do a thing that I don't know if it's possible. The idea is to get always the same apache process to handle requests from the same client. I need this because I want to use something that is in memory, in a mod_perl variable. Thanks In Advance, Joao Sa ___

Re: Requests to the same process

2004-07-04 Thread Jean-Michel Hiver
The idea is to get always the same apache process to handle requests from the same client. I need this because I want to use something that is in memory, in a mod_perl variable. You need a session to uniquely identify clients. There are a horde of module on CPAN to help you do that. http://se