incubator-zeta-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZETACOMP-81) Session timeout
Date Wed, 25 May 2011 08:25:47 GMT

    [ https://issues.apache.org/jira/browse/ZETACOMP-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039024#comment-13039024
] 

jiraposter@reviews.apache.org commented on ZETACOMP-81:
-------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/783/
-----------------------------------------------------------

Review request for zetacomponents.


Summary
-------

Added a new ezcAuthenticationSessionOptions::idleTimeOut option to handle user's inactivity.


This addresses bug ZETACOMP-81.
    https://issues.apache.org/jira/browse/ZETACOMP-81


Diffs
-----

  trunk/Authentication/src/options/session_options.php 1125639 
  trunk/Authentication/src/session/authentication_session.php 1125639 
  trunk/Authentication/tests/session/session_test.php 1125639 

Diff: https://reviews.apache.org/r/783/diff


Testing
-------

Added two new unit tests :
- ezcAuthenticationSessionTest::testSessionIsValidIdleTimeout()
- ezcAuthenticationSessionTest::testSessionIsValidIdleTimeoutExpired()

php ./UnitTest/src/runtests.php --filter=ezcAuthenticationSessionTest --verbose Authentication
PHPUnit 3.5.10 by Sebastian Bergmann.

Zeta Components:                        

  Authentication:                       
    ezcAuthenticationGeneralTest:       
    ezcAuthenticationSessionTest:       ............
[...]


Thanks,

Jérôme



> Session timeout
> ---------------
>
>                 Key: ZETACOMP-81
>                 URL: https://issues.apache.org/jira/browse/ZETACOMP-81
>             Project: Zeta Components
>          Issue Type: Bug
>          Components: Authentication
>            Reporter: Philipp Kamps
>         Attachments: patch.txt
>
>
> Not sure, but looks like the session timeout is strange. I have following code:
> 		$options = new ezcAuthenticationSessionOptions();
> 		$options->validity = 10;
> 		$session = new ezcAuthenticationSession( $options );
> I would expect a session timeout after 10 seconds __OF INACTIVITY__. But it looks like
it's a total lifetime of 10 seconds, even when I'm active ( constantly requesting more pages
that start the session ).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message