[interchange-cvs] interchange - heins modified lib/Vend/Session.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Wed Sep 20 14:42:40 EDT 2006
User: heins
Date: 2006-09-20 18:42:40 GMT
Modified: lib/Vend Session.pm
Log:
* Allow setting session ID generated length.
* Must be number between 8 and 32.
Revision Changes Path
2.26 +3 -3 interchange/lib/Vend/Session.pm
rev 2.26, prev_rev 2.25
Index: Session.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Session.pm,v
retrieving revision 2.25
retrieving revision 2.26
diff -u -r2.25 -r2.26
--- Session.pm 26 Jul 2006 07:51:34 -0000 2.25
+++ Session.pm 20 Sep 2006 18:42:40 -0000 2.26
@@ -1,6 +1,6 @@
# Vend::Session - Interchange session routines
#
-# $Id: Session.pm,v 2.25 2006/07/26 07:51:34 racke Exp $
+# $Id: Session.pm,v 2.26 2006/09/20 18:42:40 mheins Exp $
#
# Copyright (C) 2002-2006 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -27,7 +27,7 @@
require Exporter;
use vars qw($VERSION);
-$VERSION = substr(q$Revision: 2.25 $, 10);
+$VERSION = substr(q$Revision: 2.26 $, 10);
@ISA = qw(Exporter);
@@ -241,7 +241,7 @@
open_session();
for (;;) {
unless (defined $seed) {
- $Vend::SessionID = random_string();
+ $Vend::SessionID = random_string($::Limit->{session_id_length});
undef $Vend::CookieID;
}
undef $seed;
More information about the interchange-cvs
mailing list