Re: Session Handling/Set Session attributes

2007-01-18 Thread Frank Wiles
On Wed, 17 Jan 2007 16:11:17 -0800 (PST) Tracy12 <[EMAIL PROTECTED]> wrote: > > Well does this all mean there is limited features to do session > handling on mod_perl. Well I am new to mod_perl but in JAVA/Servlet > you can do a simple thing like this > > request.getSession().setAttribute("my_r

Re: Session Handling/Set Session attributes

2007-01-17 Thread Perrin Harkins
Tracy12 wrote: Can I know how can I install the above module(CGI::Session) to my system. There is lots of good documentation about installing perl modules. You can read the perlmodinstall man page. You can pick up a good book like "Intermediate Perl." There is a discussion about CPAN modul

Re: Session Handling/Set Session attributes

2007-01-17 Thread Tracy12
sessions, you can read the documentation for these > modules on http://search.cpan.org/. > > - Perrin > > > -- View this message in context: http://www.nabble.com/Session-Handling-Set-Session-attributes-tf3030824.html#a8423735 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: Session Handling/Set Session attributes

2007-01-17 Thread Jonathan Vanasco
On Jan 17, 2007, at 7:11 PM, Tracy12 wrote: Well does this all mean there is limited features to do session handling on mod_perl. Well I am new to mod_perl but in JAVA/Servlet you can do a simple thing like this request.getSession().setAttribute("my_remote_user",authenticated user>); fo

Re: Session Handling/Set Session attributes

2007-01-17 Thread Tracy12
Document to be a mod_perl > handler which redirects to anything you want. So, I believe you could > use mod_cas if you choose to. > > - Perrin > > > -- View this message in context: http://www.nabble.com/Session-Handling-Set-Session-attributes-tf3030824.html#a8422921 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: Session Handling/Set Session attributes

2007-01-17 Thread Perrin Harkins
On Wed, 2007-01-17 at 16:11 -0800, Tracy12 wrote: > Well does this all mean there is limited features to do session handling on > mod_perl. Concepts like sessions are not built into mod_perl. They are implemented separately by modules that you can find on CPAN, like Apache::Session, which was sug

Re: Session Handling/Set Session attributes

2007-01-17 Thread Perrin Harkins
On Wed, 2007-01-17 at 14:50 -0800, Tracy12 wrote: > What about the security measures if we store authenticated user information > in a cookie, > > Cant we handle in the server session and and store it as a session variable. > This would be much secure? Have you looked at the Apache::AuthCAS modul

Re: Session Handling/Set Session attributes

2007-01-17 Thread Tracy12
- - - - - - - - - - - - - - > | RoadSound.com - Tools For Bands, Stuff For Fans > | Collaborative Online Management And Syndication Tools > | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - - - - - - - - - - - - - - - > > > > -- View this message in context: http://www.nabble.com/Session-Handling-Set-Session-attributes-tf3030824.html#a8422602 Sent from the mod_perl - General mailing list archive at Nabble.com.

Re: Session Handling/Set Session attributes

2007-01-17 Thread Jonathan Vanasco
On Jan 17, 2007, at 5:50 PM, Tracy12 wrote: What about the security measures if we store authenticated user information in a cookie, Cant we handle in the server session and and store it as a session variable. This would be much secure? you store a session id in a cookie you store th

Re: Session Handling/Set Session attributes

2007-01-17 Thread Tracy12
include to be set for REMOTE_USER. > The user would only get the session cookie if they had successfully > authenticated. > > It should work fine and will likely solve your performance problem. > > Rob > > -- View this message in context: http://www.nabble.com/Sessi

Re: Session Handling/Set Session attributes

2007-01-17 Thread Robert Landrum
Tracy12 wrote: My perl authentication handler works fine BUT the biggest problem inside my Auth handler I do some resource intenstive tasks and if everything successful set the REMOTE_USER env variable. But for the subsequent requests from the same user (after the initial Authentication is succe

Session Handling/Set Session attributes

2007-01-17 Thread Tracy12
ves the value of the remote user. Currently my Auth handler does the all the tasks inside the authentication handler, which might be a performance killer thanks -- View this message in context: http://www.nabble.com/Session-Handling-Set-Session-attributes-tf3030824.html#a8420979 Sent from