| 1 | #!perl |
1 | #!perl |
| 2 | ################################################################################ |
2 | ################################################################################ |
| 3 | # WeBWorK Online Homework Delivery System |
3 | # WeBWorK Online Homework Delivery System |
| 4 | # Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ |
4 | # Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ |
| 5 | # $CVSHeader: webwork2/conf/global.conf.dist,v 1.164 2006/01/25 23:13:48 sh002i Exp $ |
5 | # $CVSHeader: webwork2/conf/global.conf.dist,v 1.165 2006/05/16 18:58:04 sh002i Exp $ |
| 6 | # |
6 | # |
| 7 | # This program is free software; you can redistribute it and/or modify it under |
7 | # This program is free software; you can redistribute it and/or modify it under |
| 8 | # the terms of either: (a) the GNU General Public License as published by the |
8 | # the terms of either: (a) the GNU General Public License as published by the |
| 9 | # Free Software Foundation; either version 2, or (at your option) any later |
9 | # Free Software Foundation; either version 2, or (at your option) any later |
| 10 | # version, or (b) the "Artistic License" which comes with this package. |
10 | # version, or (b) the "Artistic License" which comes with this package. |
| … | |
… | |
| 612 | |
612 | |
| 613 | # $sessionKeyTimeout defines seconds of inactivity before a key expires |
613 | # $sessionKeyTimeout defines seconds of inactivity before a key expires |
| 614 | $sessionKeyTimeout = 60*30; |
614 | $sessionKeyTimeout = 60*30; |
| 615 | |
615 | |
| 616 | # $sessionKeyLength defines the length (in characters) of the session key |
616 | # $sessionKeyLength defines the length (in characters) of the session key |
| 617 | $sessionKeyLength = 40; |
617 | $sessionKeyLength = 32; |
| 618 | |
618 | |
| 619 | # @sessionKeyChars lists the legal session key characters |
619 | # @sessionKeyChars lists the legal session key characters |
| 620 | @sessionKeyChars = ('A'..'Z', 'a'..'z', '0'..'9', '.', '^', '/', '!', '*'); |
620 | @sessionKeyChars = ('A'..'Z', 'a'..'z', '0'..'9'); |
| 621 | |
621 | |
| 622 | # Practice users are users who's names start with $practiceUser |
622 | # Practice users are users who's names start with $practiceUser |
| 623 | # (you can comment this out to remove practice user support) |
623 | # (you can comment this out to remove practice user support) |
| 624 | $practiceUserPrefix = "practice"; |
624 | $practiceUserPrefix = "practice"; |
| 625 | |
625 | |