Apache::DB patch

2002-02-28 Thread Enrico Sorcinelli
in the same directory of Apache/DB.pm) Any comment will be appreciated. Enrico = Enrico Sorcinelli - Gruppo E-Comm - Italia On Line S.p.a. E-Mail: [EMAIL PROTECTED] - [EMAIL PROTECTED] =

Re: Apache::DB patch

2002-03-04 Thread Enrico Sorcinelli
On Fri, 01 Mar 2002 11:16:15 +0800 Stas Bekman [EMAIL PROTECTED] wrote: Enrico Sorcinelli wrote: Hi all, I started to use Apache::DB (0.06) to interactively debug under mod_perl using ptkdb. I see that is necessary to modify Apache/DB.pm but, after this, the debugger will be run always

Re: Apache::DB patch

2002-03-05 Thread Enrico Sorcinelli
On Tue, 05 Mar 2002 10:00:56 +0800 Stas Bekman [EMAIL PROTECTED] wrote: Enrico Sorcinelli wrote: On Fri, 01 Mar 2002 11:16:15 +0800 Stas Bekman [EMAIL PROTECTED] wrote: Enrico Sorcinelli wrote: Hi all, I started to use Apache::DB (0.06) to interactively debug under mod_perl using

Apache::Status override keys in menu_item() sub

2002-03-08 Thread Enrico Sorcinelli
--- Bye, Enrico = Enrico Sorcinelli - Gruppo E-Comm - Italia On Line S.p.a. E-Mail: [EMAIL PROTECTED] - [EMAIL PROTECTED] =

Re: Cookies and redirects

2002-03-13 Thread Enrico Sorcinelli
); $r-err_header_out(Set-Cookie = $my_cookie ); $r-custom_response(SERVER_ERROR, $my_custom_redir_location); return SERVER_ERROR; Bye Enrico = Enrico Sorcinelli - Gruppo E-Comm - Italia On Line S.p.a. E-Mail: [EMAIL

[PATCH] Apache::Session::Lock::File (Apache::Session 1.54)

2002-03-29 Thread Enrico Sorcinelli
) { +if ($now - (stat($dir.'/'.$file))[8] = $time) { open(FH, +$dir/.$file) || next; flock(FH, LOCK_EX) || next; unlink($dir.'/'.$file) || next; = Enrico Sorcinelli

Re: two distinct installations

2002-04-23 Thread Enrico Sorcinelli
can running two apache (using the same DSO binary installation) with two different httpd.conf file specifying User and Group (and Port, off course) directives that you need. By the way, be careful if you run apache as root user Bye - Enrico = Enrico

Re: Terminating an HTTP process

2002-07-23 Thread Enrico Sorcinelli
= DBI-connect('dbi:...',... ,{'dbi_connect_method' = 'connect'}); However I think that the right solution is a connection pool server like SQLRealy (it work very well with Oracle, MySQL, PostgresSQL, DB2, etc) Bye Enrico = Enrico

Re: [RFC] Apache::SessionManager

2002-08-02 Thread Enrico Sorcinelli
into notes(). Bye - Enrico = Enrico Sorcinelli - Gruppo E-Comm Italia On Line S.p.a. Via Malagoli, 12 - 56124 Pisa Tel. +39 050 944303 E-Mail: [EMAIL PROTECTED]

Re: [RFC] Apache::SessionManager

2002-08-02 Thread Enrico Sorcinelli
On Fri, 02 Aug 2002 11:33:15 -0400 Perrin Harkins [EMAIL PROTECTED] wrote: Enrico Sorcinelli wrote: Apache::SessionManager creates an object session (in Header parsing phase, but not obligatorily) and make it available to all other handlers transparently by putting in pnotes. Others

Re: [RFC] Apache::SessionManager

2002-08-02 Thread Enrico Sorcinelli
(that I've used in the past) but for some applications I only had need of simple mod_perl handlers Thanks - Enrico = Enrico Sorcinelli - Gruppo E-Comm Italia On Line S.p.a. E-Mail: [EMAIL PROTECTED]

Re: [RFC] Apache::SessionManager

2002-08-02 Thread Enrico Sorcinelli
= Enrico Sorcinelli - Gruppo E-Comm Italia On Line S.p.a. E-Mail: [EMAIL PROTECTED]

[RFC] Apache::SessionManager

2002-08-02 Thread Enrico Sorcinelli
the cleanup policies not in a extern scripts but in a register_cleanup method * Consider user inactivity for session expiration policy * Test, test ,test AUTHORS Enrico Sorcinelli [EMAIL PROTECTED] BUGS Send bug reports and comments to: [EMAIL PROTECTED] In each report please

Some consideration about my Apache::SessionManager RFC

2002-08-02 Thread Enrico Sorcinelli
Hi all. First of all, sorry for my duplicate RFC post to this list. I've submitted today an RFC to mod_perl ml, as you've maybe seen. The main problem is that another old RFC with the same namespace has been submitted. However the RFC is out of date (October 2000!!!) and the module hasn't been

Re: Some consideration about my Apache::SessionManager RFC

2002-08-09 Thread Enrico Sorcinelli
I'd mail the authors at their last known addresses saying that you propose steal^H^H^H^H take over the namespace. If you get no reply in a couple of weeks I'd guess you're safe enough to use it. Today I've mailed to the author. Also I've asked an advice to [EMAIL PROTECTED] I like your

[ANNOUNCE] Apache::SessionManager 0.01

2002-08-27 Thread Enrico Sorcinelli
/EN/ENRYS/Apache-SessionManager-0.01.tar.gz or: http://www.sorcinelli.it/Apache-SessionManager-0.01.tar.gz Yours - Enrico Sorcinelli

Re: Apache::DBI new connects in error_log...

2002-09-03 Thread Enrico Sorcinelli
On Tue, 3 Sep 2002 09:05:45 -0700 (PDT) Anthony E. [EMAIL PROTECTED] wrote: Hello, I'm getting an awful lot of these error statements in my error_log file for apache: -- 25935 Apache::DBI new connect to 'db:1.2.3.4UserPassAutoCommit=1PrintError=1' -- It looks like they

Re: Apache::DBI new connects in error_log...

2002-09-04 Thread Enrico Sorcinelli
On Tue, 3 Sep 2002 10:36:30 -0700 (PDT) Anthony E. [EMAIL PROTECTED] wrote: --- Enrico Sorcinelli [EMAIL PROTECTED] wrote: On Tue, 3 Sep 2002 09:05:45 -0700 (PDT) Anthony E. [EMAIL PROTECTED] wrote: Hello, I'm getting an awful lot of these error statements in my error_log

[ANNOUNCE] Apache::SessionManager 0.02

2002-09-04 Thread Enrico Sorcinelli
A new version 0.02 of Apache::SessionManager is now available via CPAN Download site for Apache::SessionManager http://www.cpan.org/authors/id/E/EN/ENRYS/Apache-SessionManager-0.02.tar.gz Description --- This package contains an Apache mod_perl module to manage HTTP sessions.

Re: Seg Fault with PHP and Perl together

2002-09-05 Thread Enrico Sorcinelli
On Wed, 04 Sep 2002 18:17:44 +0100 Jon Harris [EMAIL PROTECTED] wrote: Hi I inherited a very happy cobalt raq3 with 2 sites using embedded Perl which work very well. There are about 20 sites on the box. I needed to get PHP running on the same box, so I made the module, added it into the

Re: [mp2.0] wrong crypt behavior

2002-09-06 Thread Enrico Sorcinelli
On Fri, 6 Sep 2002 08:23:33 +0200 Tomá¹ Procházka [EMAIL PROTECTED] wrote: Hello, I use own PerlAuthenHandler module to verify users' login and password from database. For comparsion of password user entered and password stored in database is crypt function used. Here is the code: my

Re: [OT] document management

2002-09-18 Thread Enrico Sorcinelli
What I need to find is a system that would allow users to upload word and/or pdf and/or html files into a library system that would automatically extract keywords and then file the documents into a database. The goal of all this is to avoid having users doing double work, e.g. creating

[ANNOUNCE] Apache::SessionManager 0.03

2002-10-11 Thread Enrico Sorcinelli
The uploaded file Apache-SessionManager-0.03.tar.gz has entered CPAN as file: $CPAN/authors/id/E/EN/ENRYS/Apache-SessionManager-0.03.tar.gz size: 11080 bytes md5: f55d94602beec986b02ddd36234894e9 Changes from previous version - + Added

[PATCH] Apache::Session

2002-10-25 Thread Enrico Sorcinelli
Hi Jeffrey, I've found a little bug in clean method of Apache::Session::Lock::File when it checks lockfiles last access time. In effects the result of the expression (file ./Session/Lock/File.pm, line 136) (stat($dir.'/'.$file))[8] - $now is always negative and lock dir cleanup isn't

[ANNOUNCE] Apache::SessionManager 0.04

2002-10-25 Thread Enrico Sorcinelli
The uploaded file Apache-SessionManager-0.04.tar.gz has entered CPAN as file: $CPAN/authors/id/E/EN/ENRYS/Apache-SessionManager-0.04.tar.gz size: 11197 bytes md5: b6a6e234ddac1b9a4741ab0413aa3013 Changes from previous version - This is a maintenance

Re: New module : Apache::Session::Manager

2002-11-18 Thread Enrico Sorcinelli
On 16 Nov 2002 13:24:13 +0200 Clinton Gormley [EMAIL PROTECTED] wrote: I've written a new module as a wrapper around Apache::Session which provides short term (ie session) tracking (which is something that Apache::SessionManager and Apache::SessionX provide), but this adds long term user

Re: Session managing using PerlTransHandler

2002-11-22 Thread Enrico Sorcinelli
On Fri, 22 Nov 2002 19:09:25 +0200 [EMAIL PROTECTED] wrote: How I Can redirect to page http://foo.bar/ses1/index.html from PerlTransHandler Module? Hi, the description of your problem is very... short. The chapter 5 of 'eagle' book explain how to put and strip session ID on the left to

Re: sesion managing

2003-01-07 Thread Enrico Sorcinelli
. Then you can use all datastores supported by Apache::Session (file, MySQL, Postgres, Sybase, Oracle, DB_File, RAM, PHP-like file) Bye - Enrico Sorcinelli

Re: Apache::SessionManager pnotes index.html problem...

2003-01-23 Thread Enrico Sorcinelli
On Wed, 22 Jan 2003 22:21:20 -0700 Joseph P. Crotty [EMAIL PROTECTED] wrote: Here is the simplest form of the problem I can produce. I have two handlers and want to pass some info between them visa vi pnotes. One is a PerlTransHandler for Apache::SessionManager and the other is a

RE: Apache::SessionManager pnotes index.html problem...

2003-01-29 Thread Enrico Sorcinelli
Hi Joseph, Thanks Enrico, I had no idea that was the problem. My case is http://yourserver.com/ As I have already said to you in the previous post, the problem is that currently, Apache::SessionManager skips all subrequests. When you request http://yourserver.com/, Apache do it because

Re: Server side programming PHP Vs CGI Vs modPerl

2003-02-14 Thread Enrico Sorcinelli
On Fri, 14 Feb 2003 15:52:35 +0530 (IST) Devi .M [EMAIL PROTECTED] wrote: Hello all, Thanks for all ur reponses. With all ur suggestions and comparisons, I have decided to use mod_perl [...] Good! ;-) Now I tried authenticating the user, where I have to maintain separate

Re: cookie setting/retieval

2003-03-31 Thread Enrico Sorcinelli
On Mon, 31 Mar 2003 18:11:21 -0600 Jason Jolly [EMAIL PROTECTED] wrote: I'm currently in the process of writing a wrapper for a site using Apache::Session and mod_perl. I was having great success using the following code to either validate a cookie which was already present or set a new

[ANNOUNCE] Template::Plugin::Apache::SessionManager 0.01

2003-06-23 Thread Enrico Sorcinelli
Hi all, I'm glad to announce first public release of 'Template::Plugin::Apache::SessionManager' module. Template::Plugin::Apache::SessionManager - Session manager Template Toolkit plugin This Template Toolkit plugin provides an interface to Apache::SessionManager module wich provides a session

Re: [RFC] web-messaging application for mod_perl

2003-07-01 Thread Enrico Sorcinelli
On Mon, 30 Jun 2003 12:57:00 -0700 Adi Fairbank [EMAIL PROTECTED] wrote: Apache::WebMessaging I am about ready to release an intraserver web-messaging application for mod_perl. A brief description of the app follows; I'd like to hear some comments from the mod_perl/Perl/P5EE community on:

Re: Apache::Session::Lock::File hangs under Windows

2003-07-08 Thread Enrico Sorcinelli
On Tue, 8 Jul 2003 10:26:54 +0400 Andrew Alakozow [EMAIL PROTECTED] wrote: Hi Andrew BTW, 'clean' method of this model hangs as well. Also Apache::Session::Lock::File (1.54) 'clean' method has a little bug in checking lockfiles last access time. See my post at:

[ANNOUNCE] Apache::SessionManager 0.05

2003-07-14 Thread Enrico Sorcinelli
The uploaded file Apache-SessionManager-0.05.tar.gz has entered CPAN as file: $CPAN/authors/id/E/EN/ENRYS/Apache-SessionManager-0.05.tar.gz size: 20891 bytes md5: 59a42fa50c52871843f50ae8e820e5a7 Changes from previous version - + Added syntax control

[ANNOUNCE] Apache::SessionManager 0.06

2003-07-28 Thread Enrico Sorcinelli
The uploaded file Apache-SessionManager-0.06.tar.gz has entered CPAN as file: $CPAN/authors/id/E/EN/ENRYS/Apache-SessionManager-0.06.tar.gz size: 20944 bytes md5: 8e5332438deedd67ca71d5c3536ebb98 Changes from previous version - ! Removed an exit()

Re: Apache::Session and pnotes

2003-09-05 Thread Enrico Sorcinelli
On Tue, 2 Sep 2003 20:21:45 +0200 Xavier Noria [EMAIL PROTECTED] wrote: On Tuesday 02 September 2003 07:28, Perrin Harkins wrote: Sorry, I don't understand what you're saying here. What you should be doing is fetching the session once, putting it in pnotes, and getting it from pnotes