LEMONLDAP::NG : New module Sessions.pm to manage sessions

environments/ppa-mbqj77/deployments/1
Xavier Guimard 17 years ago
parent 9e2a494da5
commit a75e882741
  1. 3
      modules/lemonldap-ng-manager/Changes
  2. BIN
      modules/lemonldap-ng-manager/example/images/Thumbs.db
  3. BIN
      modules/lemonldap-ng-manager/example/images/arrow_refresh.png
  4. BIN
      modules/lemonldap-ng-manager/example/images/collapsable-last.gif
  5. BIN
      modules/lemonldap-ng-manager/example/images/collapsable.gif
  6. BIN
      modules/lemonldap-ng-manager/example/images/cross.png
  7. BIN
      modules/lemonldap-ng-manager/example/images/disk.png
  8. BIN
      modules/lemonldap-ng-manager/example/images/expandable-last.gif
  9. BIN
      modules/lemonldap-ng-manager/example/images/expandable.gif
  10. BIN
      modules/lemonldap-ng-manager/example/images/folder_add.png
  11. BIN
      modules/lemonldap-ng-manager/example/images/folder_delete.png
  12. BIN
      modules/lemonldap-ng-manager/example/images/folder_edit.png
  13. BIN
      modules/lemonldap-ng-manager/example/images/leaf-last.gif
  14. BIN
      modules/lemonldap-ng-manager/example/images/leaf.gif
  15. BIN
      modules/lemonldap-ng-manager/example/images/line_bg.gif
  16. BIN
      modules/lemonldap-ng-manager/example/images/line_bg_over.gif
  17. BIN
      modules/lemonldap-ng-manager/example/images/line_bg_over_last.gif
  18. BIN
      modules/lemonldap-ng-manager/example/images/minus.gif
  19. BIN
      modules/lemonldap-ng-manager/example/images/page_add.png
  20. BIN
      modules/lemonldap-ng-manager/example/images/page_delete.png
  21. BIN
      modules/lemonldap-ng-manager/example/images/page_edit.png
  22. BIN
      modules/lemonldap-ng-manager/example/images/plus.gif
  23. BIN
      modules/lemonldap-ng-manager/example/images/root.gif
  24. BIN
      modules/lemonldap-ng-manager/example/images/spacer.gif
  25. BIN
      modules/lemonldap-ng-manager/example/images/spinner.gif
  26. BIN
      modules/lemonldap-ng-manager/example/images/tree_line.gif
  27. 11
      modules/lemonldap-ng-manager/example/jquery.js
  28. 22
      modules/lemonldap-ng-manager/example/sessions.pl
  29. 2
      modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager.pm
  30. 1224
      modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Sessions.pm
  31. 2
      modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm

@ -1,5 +1,8 @@
Revision history for Perl extension Lemonldap::NG::Manager.
0.87 Tue nov 4 17:28:45 2008
- New module Sessions.pm and example
0.86 Mon aug 25 22:02:23 2008
- UTF8 in _i18n.pm
- change in default values

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 655 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 655 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 740 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1004 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

File diff suppressed because one or more lines are too long

@ -0,0 +1,22 @@
#!/usr/bin/perl
use strict;
use Lemonldap::NG::Manager::Sessions;
our $cgi = Lemonldap::NG::Manager::Sessions->new({
localStorage => "Cache::FileCache",
localStorageOptions => {
'namespace' => 'MyNamespace',
'default_expires_in' => 600,
'directory_umask' => '007',
'cache_root' => '/tmp',
'cache_depth' => 5,
},
configStorage => $Lemonldap::NG::Conf::configStorage,
https => 1,
jqueryUri => 'jquery.js',
imagePath => 'images/',
});
$cgi->process();

@ -17,7 +17,7 @@ use MIME::Base64;
our @ISA = qw(Lemonldap::NG::Manager::Base);
our $VERSION = '0.86';
our $VERSION = '0.87';
sub new {
my ( $class, $args ) = @_;

@ -340,6 +340,8 @@ sub controlExistingSession {
my $self = shift;
my %cookies = fetch CGI::Cookie;
# Store IP address
$self->{sessionInfo}->{ipAddr} = $ENV{REMOTE_ADDR};
# Test if Lemonldap::NG cookie is available
if ( $cookies{ $self->{cookieName} }
and my $id = $cookies{ $self->{cookieName} }->value )

Loading…
Cancel
Save