Debian Codegraph @

Changes

raw
1 Revision history for Perl extension CGI::Session::ExpireSessions.
2
3 1.14 2021-04-27T19:10:00
4 - Adopt patch to sub expire_db_sessions() from Noam Rathaus. With thanx!
5 - Change licence from artistic_2 to perl.
6 - Update POD re repository to be on github, and submission of patches.
7 - Update Makefile.PL.
8
9 1.13 2013-05-27T15:57:00
10 - Replace /usr/bin/perl with /usr/bin/env perl.
11 - Replace common::sense with use strict and use warnings, to get uninit var warnings.
12 - Rename test files from \d\d-*.t to *.t.
13 - Clean up the POD so it passes tests. Specifically, '=item 1' becomes '=item o 1', and all other '=item'
14 tokens are replaced by '=item o' to match.
15
16 1.12 2010-02-21T12:54:42
17 - Remove text 'All rights reserved' (for Debian licensing).
18 - Remove POD heads 'Required Modules' and 'Changes'.
19
20 1.11 2010-02-10T14:01:28
21 - MANIFEST.SKIP updated to exclude MYMETA.yml. Add MYMETA.yml.
22
23 1.10 2009-11-13T13:20:00
24 - Run dos2unix
25 - Rename Changes.txt to CHANGES
26
27 1.09 2008-05-15T11:11:00
28 - Delete V 1.08 from CPAN and upload V 1.09, hoping CPAN will index it properly this time.
29 All this because some uses have logged a ticket (RT#35515) about not being able
30 to use 'cpan' to install the module. They are right, I can't get 'cpan' to work either
31 - Start shipping Changelog.ini
32
33 1.08 2006-06-12T11:32:00
34 - Version 1.07 was never uploaded to CPAN. It was just available from my site, and was meant
35 for testing the proposed callback mechanism in CGI::Session::find. That mechanism was
36 changed before CGI::Session 4.14 was released, so my module's code now changes to match.
37 Also, since CGI::Session has been patched so its sub find() no longer updates the session's
38 access time, my module now uses atime instead of ctime when checking for expiry
39
40 1.07 2006-04-12T14:36:00
41 - Add method expire_sessions() which uses CGI::Session V 4 method find() to find all sessions,
42 and then expires sessions if appropriate. All this without evaling the contents of the session
43 and which therefore resolves RT bug 16069
44 - Document the new method and the new parameters to new()
45 - Add test t/03-delete-via-find.t to test the new code
46 - Add examples/expire-set.pl to demonstrate and document further ways of using the new method
47 - Make CGI::Session V 4.13 a prerequisite
48
49 1.06 2006-04-04T10:04:00
50 - Add binmode after open in sub expire_file_sessions
51 - Change "eval $session[0]" into "eval join('', @session)" to handle session data containing \n
52 - Add a new test, t/new-line.t, to test session data containing \n
53 - The problem with session data containing \n characters was reported via RT by m-uchino at yetipapa.com
54
55 1.05 2005-10-26T11:25:00
56 - Untaint the data read in from the sessions table before eval-ing it.
57 The problem, reported (with a code patch) by Dr RA Jones, was that
58 the original code triggered an insecure dependency warning when running
59 under -T, but only when using DBD::PgPP under MS Windows.
60 The exact reason for this warning in this situation remains a mystery
61 - Simplify code in new() to no longer check if caller is an object
62 as per the new standard on such matters
63
64 1.04 2004-11-02T15:20:00
65 - Note: All files referred to here match the CGI::Session file name format /cgisess_[0-9a-f]{32}/
66 - Fix the assumption in sub expire_file_sessions() that the program was being run in the temp directory,
67 by adding the temp directory's name as a prefix to all file names.
68 Original patch: Matthias Blising
69 - Fix sub expire_file_sessions() to delete files of size <= 5 bytes which are old enough. Files of size 0
70 are sometimes created by CGI::Session under unknown circumstances.
71 As always, use new(delta => 123) to change the definition of 'old enough'
72 - Fix verbose message for file session where it should have referred to $$D{'_SESSION_ID'}
73 and not $$D{'id'}. The latter was a careless copy-and-paste from the database code
74 - Ignore recent files whose size is <= 5 bytes
75 - Change text of verbose messages from 'Time lapsed' to 'Time elapsed'
76 - Add a security warning to the POD. Actually this comment is redundant, because you always read the POD,
77 right?
78
79 1.03 2004-07-19T14:47:00
80 - Change Makefile.PL to coexist with Module::Build
81 - Add t/pod.t to test all PODs
82
83 1.02 2004-06-29T10:08:00
84 - Add code so sessions which have already expired are also deleted.
85 Originally, the module allowed you to force sessions to expire, via the delta parameter to new().
86 Now it also checks for sessions which have already expired, that is for sessions which CGI::Session
87 would delete automatically when retrieving them. Thanx to Adam Gent for this suggestion
88 - Rewrite the POD where it discusses expiration and deletion
89
90 1.01 2004-04-27T10:01:00
91 - Add another parameter to new(): table_name. This allows you to store sessions in a table with
92 a non-default name. The default name is of course 'sessions'. Thanx to Mark Stosberg for this
93 suggestion
94 - This module does not work with Mark's module CGI::Session::PureSQL. The best solution to this
95 problem seems to be to extend CGI::Session to offer a session iterator. This suggesion is also
96 from Mark. I will propose this today to the author of CGI::Session when I report the bug in
97 CGI:Session V 3.94 line 168, which says:
98 if ( $arg->isa('CGI') )
99 This bug means classes such as CGI::Simple can't be used here as a replacement for CGI.
100 The code needs to be something like:
101 if ($arg -> can('cookie') )...
102 elsif ($arg -> can('param') )...
103
104 1.00 2004-04-19T12:37:29
105 - Original version