[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() command from Makefile.PL in order to work with 
 cpan/cpanplus shell when auto-installing required modules
   ! Update NAME section in cookpod to Apache::SessionManager::cookpod
   ! Minor corrections to cookpod 
   ! Uncommentend __END__ line in SessionManager.pm - why it was commented? :-)

See perldoc Apache::SessionManager for module documentation and use
See perldoc Apache::SessionManager::cookpod for more info about module use

Any comment and/or criticism are welcome :-)

by

- Enrico


[ ANNOUNCE ] Apache::SessionManager-0.06

2000-10-29 Thread Greg Cope

Dear All

I've finally got a tar ball onto sourceforge (but that's another [OT]
story ;-)

Announcing Apache::SessionManager.

For those that do not know this is a (near) Transparent Session Manager
module - it will get (and optionally set) a Session ID from a client
request.  It does no more that this with the ID - authenticating it /
checking validity is up to you.  It is supposed to compliment
Apache::Session, which can be used as the backbend session store.

It has some perldoc in the Apache::SessionManager.pm file.

There is an example startup.pl in the example dir. of the tar ball.

It is quite configurable in that you can change its behaviour to taste -
see the perldoc / source.

It works in my development environment.

It is BETA and the API may change.  Use it at your own risk!  The usual
warranty applies - in that if it breaks please send any bits to
/dev/null, and any patches / bug fixes to me!

Please send me any feedback directly.

A BIG thank you to all that have help / sent me feedback / ideas, and
also to Doug for mod_perl and the Apache and perl authors.

Oh, Find it here:

http://sourceforge.net/projects/sessionmanager/

Regards

Greg Cope



Re: [ ANNOUNCE ] Apache::SessionManager-0.06

2000-10-29 Thread Bill Moseley

At 05:24 PM 10/29/00 +, Greg Cope wrote:
>Announcing Apache::SessionManager.

Hi Greg,

Here's a couple of other comments.

Don't forget to keep track of args on redirects:

GET /a5cc39a8c110566e41b5b8efafc2a055/index.html/abc/123?query=abc http/1.0
Cookie: SESSION=cb74254c1de96365e91fa6d6d481f952

HTTP/1.1 302 Found
Date: Sun, 29 Oct 2000 18:28:54 GMT
Server: Apache/1.3.14 (Unix) mod_perl/1.24_01
Location: /index.html/abc/123=== lost the args here.

And don't forget about the use of DirectoryIndex:
GET /index.html http/1.0

HTTP/1.1 302 Found  <<== here's your redirect

Now this gets through:
GET / http/1.0

HTTP/1.1 200 OK


I'm also unclear about excluding some files with $NON_MATCH.  Perhaps I
didn't set it up correctly.  

If the session is in the URL, and a browser uses relative links it will try
to use that session for all links.  So if $NON_MATCH is used to ignore
.gif, for example, I see this:

File does not exist:
/usr/local/apache/htdocs/f0d960ddbbe1e82ca55ed2372447751e/apache_pb.gif

You might consider moving some of your code into other handlers later in
the request and just let the transhandler extract out the session id.  That
way you can use  and friends to configure what requires a
session and what doesn't, and you can use PerlSetVars to control behavior
section-by-section in httpd.conf.

Hope some of this helps.

Have fun,

Bill Moseley
mailto:[EMAIL PROTECTED]