Re: sesion managing

2003-01-07 Thread Enrico Sorcinelli
t uses Apache::Session::* modules as persistence framework for session data. 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 Per

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 you've

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 > separat

Re: convert file

2003-02-19 Thread Enrico Sorcinelli
On Wed, 19 Feb 2003 12:01:02 + (GMT) Ged Haywood <[EMAIL PROTECTED]> wrote: > Hello again, > > On Wed, 19 Feb 2003, koudjo ametepe wrote: > > > I wanna convert a file in MSword (binary format) to text file > > This kind of post is not welcome on the mod_perl mailing List. > > I have alrea

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 n

[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 m

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 communit

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: http://math

[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 ov

[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() comma

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

Re: Apache::Session permissions problem

2003-09-15 Thread Enrico Sorcinelli
On Fri, 12 Sep 2003 01:01:24 -0600 Eric Schwartz <[EMAIL PROTECTED]> wrote: Hi Eric, > I found a pretty useful article at > http://www.linuxjournal.com/article.php?sid=4143 on how to use > Apache::Session with Mason. I wrote a tutorial on session management with HTML::Mason and Apache::Sess

Apache::Status override keys in menu_item() sub

2002-03-08 Thread Enrico Sorcinelli
+return; +} + $status{$key} = $val; no strict; *{"status_${key}"} = $sub ---CUT HERE--- 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_header_out() request method. For example: use Apache::Constants qw(:common); $r->err_header_out("Set-Cookie" => $my_cookie ); $r->custom_response(SERVER_ERROR, $my_custom_redir_location); return SERVER_ERROR; Bye Enrico =

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

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

Re: two distinct installations

2002-04-23 Thread Enrico Sorcinelli
che as root user 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: Terminating an HTTP process

2002-07-23 Thread Enrico Sorcinelli
> '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 Sorcinelli - Gruppo E-Comm - Italia On Line S.p.a. E-Mail: [EMAIL PROTECTED] - [EMAIL PROTECTED] =

[RFC] Apache::SessionManager

2002-08-02 Thread Enrico Sorcinelli
)$"' TODO * Implement wrapper for RAM, DB and db_file session datastore * Include into the distro the session cleanup script (the scripts I use for cleanup actually) * Embed the cleanup policies not in a extern scripts but in a register_cleanup method * C

Re: [RFC] Apache::SessionManager

2002-08-02 Thread Enrico Sorcinelli
no glue with Apache::Session. This store only session value 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 > > transpa

Re: [RFC] Apache::SessionManager

2002-08-02 Thread Enrico Sorcinelli
AxKit a powerful appserver (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
s and actually you can write a custom PerlAuthenHandler to autohorize user accesses to certain resources Bye - Enrico = Enrico Sorcinelli - Gruppo E-Comm Italia On Line S.p.a. E-Mail: [EMAIL PROTECTED]

[RFC] Apache::SessionManager

2002-08-02 Thread Enrico Sorcinelli
)$"' TODO * Implement wrapper for RAM, DB and db_file session datastore * Include into the distro the session cleanup script (the scripts I use for cleanup actually) * Embed the cleanup policies not in a extern scripts but in a register_cleanup method * C

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 y

[ANNOUNCE] Apache::SessionManager 0.01

2002-08-27 Thread Enrico Sorcinelli
AN/authors/id/E/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 lo

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: > >

[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. Apache:

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 int

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 c

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

Re: urls with session info

2002-10-03 Thread Enrico Sorcinelli
On Thu, 3 Oct 2002 00:43:12 -0500 (CDT) Gabriel C Millerd <[EMAIL PROTECTED]> wrote: > i have been trying to write a handler that will provide me with session > data using the URL (eg, http://www.domain.com/$sessionid . $r->url) like > the eagle books has on p246. >in addition i am serving a

[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 'SessionManage

[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 done

[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 rel

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: mod_perl + CSS

2002-11-19 Thread Enrico Sorcinelli
On Tue, 19 Nov 2002 10:50:05 -0500 [EMAIL PROTECTED] wrote: > Hiya everyone, > > Another newbie question, I have an apache server setup with two instances, > one for static pages and one for mod_perl dynamic pages. I use > HTML::Template to generate my content. I would like to use CSS for styli

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 t

Apache::DB patch

2002-02-28 Thread Enrico Sorcinelli
RE--- (run the patch 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, th

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: > >> > >>