Re: Session handling

2008-04-28 Thread Malcolm J Harwood
On Sunday 27 April 2008, Tracy12 wrote: > I do not flush, but I can see the cookies generated in the session folder You could try adding the flush to see if it helps. > This happens in only one navigation path only Then it sounds like there's something particular to that path, rather than it be

Re: Session handling

2008-04-27 Thread Tracy12
I do not flush, but I can see the cookies generated in the session folder This happens in only one navigation path only Malcolm J Harwood-3 wrote: > > On Thursday 17 April 2008, Tracy12 wrote: > >> We do run a cron job to clean up the cache, Anyhow even it contains old >> data, they are basi

Re: Session handling

2008-04-26 Thread Malcolm J Harwood
On Thursday 17 April 2008, Tracy12 wrote: > We do run a cron job to clean up the cache, Anyhow even it contains old > data, they are basically expired, I can't > understand how that gonna cause this issue, To my understanding we clean up > the cache primarily because it is just filling up the har

Re: Session handling

2008-04-17 Thread Tracy12
We do run a cron job to clean up the cache, Anyhow even it contains old data, they are basically expired, I can't understand how that gonna cause this issue, To my understanding we clean up the cache primarily because it is just filling up the hard disk, Other thing is I did not mention any cach

Re: Session handling

2008-04-17 Thread Malcolm
On Thursday 17 April 2008 01:04:14 Tracy12 wrote: > for session handling we use CGI:Session cpan distribution, > > we do use local file for cookie storage, eventhough the session time out is > 30, sometimes the set information in the > session get lost before that, has anybody experience this befo

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
CGI::Session looks like it gives a good abstraction. I used use CGI::Session; in my code and came up with the error failed to resolve handler `AuthCAS->authen_handler': Can't locate CGI/Session.pm in @ I am using fedora core 5 with Apache 2.2 with mod_perl 2.x Can I know how can I install the

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
Apache::AuthCAS module on CPAN does not support OPEN SSL also it creates database tables to store data, we tried it on Apache 2.2 with mod_perl 2.0 it failed. We need only a serviceValidate from CAS not other functions. mod_cas looks ok but does not supports Apache 2.2 We have almost finish ou

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
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",); for subsequent requests we can retrieve this attribute and do what we want

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
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? Robert Landrum wrote: > > Tracy12 wrote: >> My perl authentication handler works fine BUT the biggest

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