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
sion timeout is 30m, >> $session->param($SESSION_USER_PARAM, $user); return empty string before >> the 30m > > Are you flushing the session after you've put data in it? > > see: > http://search.cpan.org/%7Emarkstos/CGI-Session-4.30/lib/CGI/Session.pm#flush(

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
user); return empty string before the 30m Hope this information is enough for some one to make a comment Malcolm J Harwood-3 wrote: > > On Thursday 17 April 2008 01:04:14 Tracy12 wrote: > >> for session handling we use CGI:Session cpan distribution, >> >> we do use local

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

Session handling

2008-04-16 Thread Tracy12
Hi, 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 before. We do have a cron job to clear the session data

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.g

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
can I install the above module(CGI::Session) to my system. Thanks Perrin Harkins wrote: > > 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 sess

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",authentic

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, whi

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

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
attribute is there and return OK, without going further Question -> How does the session handling supported in mod_perl, how can I retrieve the user session and set variables like that, 2)Does mod_perl supports in such a way that for subsequent requests the user has authenticated and hence gi

Re: How to troubleshoot session handling?

2005-04-18 Thread ___cliff rayman___
- I simply can't remember how I had it before -- is the above supposed to set a cookie immediately? yes - the assignment to the udat hash element should cause session handling to start and the SET-COOKIE header to be sent. Incidentally, I looked inside %udat earlier, and noticed that someon

mod_perl2: Session handling

2004-06-07 Thread Jozef Kosoru
Hello, What is the best 'State of Art' approach to implement session handling in Apache2,mod_perl2 environment? Thank you, Jozef -- jozef kosoru http://zyzstar.kosoru.com -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl