zoneminder/scripts/ZoneMinder
Isaac Connor 2b90bf15a6
Improve session (#2487)
* Introduce ZM_COOKIE_LIFETIME which sets the life of the SESSION cookie, instead of using what is in php.ini

* Use zm specific session functions, which are now located in includes/session.php.  Be more agressive about clearing session on logout.

* Move session code to includes/session.php

* remove duplicate line

* Move is_session_open to session.php.  Move code to clear a session into session.php

* improve debug line when there is a problem updating config entry

* split description into description and help text for COOKIE_LIFETIME

* Remove redirect on line.  We do it in javascript on postlogin view so that we can say logging in before switching to console

* If there is a username in the session, then we are logged in, but we need to load the user object from the db.  We can't just trust it from the session. The user may have been deleted and having that data in the session can be a security risk. So load the user object on every request.

* Use session_regenerate_id instead of our broken code to do the same

* Move auth code to includes/auth.php

* add autocomplete tags to username and password inputs

* Don't redirect to login if we are already viewing login.  Put auth before including skin includes

* need to include session.php in auth.php

* update to php namespace
2019-02-22 09:43:38 -05:00
..
lib Improve session (#2487) 2019-02-22 09:43:38 -05:00
t Migrate svn to git 2013-03-17 00:45:21 +01:00
CMakeLists.txt Fixup ONVIF module, making it actually usable 2017-08-25 11:16:37 -04:00
Changes Migrate svn to git 2013-03-17 00:45:21 +01:00
INSTALL.SKIP glob ptz scripts under control folder 2014-01-01 12:17:13 -06:00
MANIFEST Migrate svn to git 2013-03-17 00:45:21 +01:00
MANIFEST.SKIP glob ptz scripts under control folder 2014-01-01 12:17:13 -06:00
META.yml Migrate svn to git 2013-03-17 00:45:21 +01:00
Makefile.PL glob ptz scripts under control folder 2014-01-01 12:17:13 -06:00
README Migrate svn to git 2013-03-17 00:45:21 +01:00

README

ZoneMinder version 0.01
=======================

The README is used to introduce the module and provide instructions on
how to install the module, any machine dependencies it may have (for
example C compilers and installed libraries) and any other information
that should be provided before the module is installed.

A README file is required for CPAN modules since CPAN extracts the
README file from a module distribution so that people browsing the
archive can use it get an idea of the modules uses. It is usually a
good idea to provide version information here so that people can
decide whether fixes for the module are worth downloading.

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

This module requires these other modules and libraries:

  blah blah blah

COPYRIGHT AND LICENCE

Put the correct copyright and licence information here.

Copyright (C) 2005 by Philip Coombes

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.3 or,
at your option, any later version of Perl 5 you may have available.