Skip to content
Snippets Groups Projects
  1. Apr 07, 2016
    • Jaime Perez Crespo's avatar
      Add a method to SimpleSAMLphp_SessionHandlerPHP to restore a session existing... · 8dc545b8
      Jaime Perez Crespo authored
      Add a method to SimpleSAMLphp_SessionHandlerPHP to restore a session existing previously to our own session. This can be used in SimpleSAML_Session to restore the PHP session status previous to calling our API, while also guaranteeing that our session is correctly saved. The documentation has been updated to reflect this and recommend how to deal with conflicting PHP sessions. This closes #244 and resolves #349.
      8dc545b8
    • Jaime Perez Crespo's avatar
      Bugfixes: the PHP session handler only fetches the cookie configuration... · 5fd4839e
      Jaime Perez Crespo authored
      Bugfixes: the PHP session handler only fetches the cookie configuration parameters if session_id() returns a non-empty ID. This won't happen if the application initialized a session previously, hijacking the session and causing all kinds of trouble. Instead, we need to detect if there's an active session, save its parameters and close it. After closing it, we can name a new session and set the cookie parameters.
      5fd4839e
    • Jaime Perez Crespo's avatar
      Bugfix: when using PHP sessions, if there's already a session, session_id()... · d5480a99
      Jaime Perez Crespo authored
      Bugfix: when using PHP sessions, if there's already a session, session_id() will return the identifier of that session, not our session. In that case, we need to make sure it is our session so that we don't hijack the one of the application.
      d5480a99
  2. Feb 15, 2016
  3. Oct 26, 2015
  4. Aug 04, 2015
  5. Jun 08, 2015
  6. May 27, 2015
  7. Apr 21, 2015
  8. Apr 16, 2015
  9. Jul 09, 2014
  10. Sep 13, 2013
  11. Sep 11, 2013
  12. Sep 05, 2013
  13. Jan 30, 2012
  14. Aug 10, 2011
  15. Aug 09, 2010
  16. Jul 13, 2010
  17. Jul 07, 2010
  18. Feb 24, 2010
  19. Feb 15, 2010
    • Olav Morken's avatar
      Disable cookie secure-flag by default. · c4ae073b
      Olav Morken authored
      This patch removes the autodetection of the secure flag for the cookie
      based on whether the user is accessing simpleSAMLphp through https. The
      reason for this is that the user can often access an SP through both
      https and http. If the user starts with http, everything will work, but
      if the user starts with https, the user will get two separate cookies,
      one for https and one for http.
      
      This patch introduces a new configuration option in config.php:
      
          /*
           * Set the secure flag in the cookie.
           *
           * Set this to TRUE if the user only accesses your service
           * through https. If the user can access the service through
           * both http and https, this must be set to FALSE.
           */
          'session.cookie.secure' => FALSE,
      
      git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2180 44740490-163a-0410-bde0-09ae8108e29a
      c4ae073b
  20. Dec 02, 2009
  21. Sep 25, 2009
  22. Aug 14, 2009
  23. Jun 06, 2008
  24. May 14, 2008
  25. May 13, 2008
  26. Mar 12, 2008
  27. Jan 30, 2008
  28. Dec 18, 2007
  29. Nov 28, 2007
Loading