summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session.php
AgeCommit message (Collapse)AuthorFilesLines
2012-10-08Merge tag '2.1.3'Florian Pritz1-2/+5
Conflicts: user_guide Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-07-18Backport fix for issue #1314Andrey Andreev1-2/+5
2011-11-28Merge commit 'v2.1.0'Florian Pritz1-1/+2
Conflicts: user_guide/changelog.html user_guide/database/active_record.html user_guide/database/caching.html user_guide/database/call_function.html user_guide/database/configuration.html user_guide/database/connecting.html user_guide/database/examples.html user_guide/database/fields.html user_guide/database/forge.html user_guide/database/helpers.html user_guide/database/index.html user_guide/database/queries.html user_guide/database/results.html user_guide/database/table_data.html user_guide/database/transactions.html user_guide/database/utilities.html user_guide/doc_style/index.html user_guide/general/alternative_php.html user_guide/general/ancillary_classes.html user_guide/general/autoloader.html user_guide/general/caching.html user_guide/general/cli.html user_guide/general/common_functions.html user_guide/general/controllers.html user_guide/general/core_classes.html user_guide/general/creating_drivers.html user_guide/general/creating_libraries.html user_guide/general/credits.html user_guide/general/drivers.html user_guide/general/environments.html user_guide/general/errors.html user_guide/general/helpers.html user_guide/general/hooks.html user_guide/general/libraries.html user_guide/general/managing_apps.html user_guide/general/models.html user_guide/general/profiling.html user_guide/general/quick_reference.html user_guide/general/requirements.html user_guide/general/reserved_names.html user_guide/general/routing.html user_guide/general/security.html user_guide/general/styleguide.html user_guide/general/urls.html user_guide/general/views.html user_guide/helpers/array_helper.html user_guide/helpers/captcha_helper.html user_guide/helpers/cookie_helper.html user_guide/helpers/date_helper.html user_guide/helpers/directory_helper.html user_guide/helpers/download_helper.html user_guide/helpers/email_helper.html user_guide/helpers/file_helper.html user_guide/helpers/form_helper.html user_guide/helpers/html_helper.html user_guide/helpers/inflector_helper.html user_guide/helpers/language_helper.html user_guide/helpers/number_helper.html user_guide/helpers/path_helper.html user_guide/helpers/security_helper.html user_guide/helpers/smiley_helper.html user_guide/helpers/string_helper.html user_guide/helpers/text_helper.html user_guide/helpers/typography_helper.html user_guide/helpers/url_helper.html user_guide/helpers/xml_helper.html user_guide/images/appflowchart.gif user_guide/index.html user_guide/installation/downloads.html user_guide/installation/index.html user_guide/installation/troubleshooting.html user_guide/installation/upgrade_120.html user_guide/installation/upgrade_130.html user_guide/installation/upgrade_131.html user_guide/installation/upgrade_132.html user_guide/installation/upgrade_133.html user_guide/installation/upgrade_140.html user_guide/installation/upgrade_141.html user_guide/installation/upgrade_150.html user_guide/installation/upgrade_152.html user_guide/installation/upgrade_153.html user_guide/installation/upgrade_154.html user_guide/installation/upgrade_160.html user_guide/installation/upgrade_161.html user_guide/installation/upgrade_162.html user_guide/installation/upgrade_163.html user_guide/installation/upgrade_170.html user_guide/installation/upgrade_171.html user_guide/installation/upgrade_172.html user_guide/installation/upgrade_200.html user_guide/installation/upgrade_201.html user_guide/installation/upgrade_202.html user_guide/installation/upgrade_203.html user_guide/installation/upgrade_b11.html user_guide/installation/upgrading.html user_guide/libraries/benchmark.html user_guide/libraries/caching.html user_guide/libraries/calendar.html user_guide/libraries/cart.html user_guide/libraries/config.html user_guide/libraries/email.html user_guide/libraries/encryption.html user_guide/libraries/file_uploading.html user_guide/libraries/form_validation.html user_guide/libraries/ftp.html user_guide/libraries/image_lib.html user_guide/libraries/input.html user_guide/libraries/javascript.html user_guide/libraries/language.html user_guide/libraries/loader.html user_guide/libraries/output.html user_guide/libraries/pagination.html user_guide/libraries/parser.html user_guide/libraries/security.html user_guide/libraries/sessions.html user_guide/libraries/table.html user_guide/libraries/trackback.html user_guide/libraries/typography.html user_guide/libraries/unit_testing.html user_guide/libraries/uri.html user_guide/libraries/user_agent.html user_guide/libraries/xmlrpc.html user_guide/libraries/zip.html user_guide/license.html user_guide/nav/nav.js user_guide/overview/appflow.html user_guide/overview/at_a_glance.html user_guide/overview/cheatsheets.html user_guide/overview/features.html user_guide/overview/getting_started.html user_guide/overview/goals.html user_guide/overview/index.html user_guide/overview/mvc.html user_guide/toc.html Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-10-27Added the 'user_data' key to the userdata property so that sessions using a ↵Kyle Farris1-1/+2
database can be deleted properly when using the table schema found in the "Saving Session Data to a Database" section of the Session Class in the user guide.
2011-08-21Merge commit 'v2.0.3' into workingFlorian Pritz1-4/+4
Conflicts: .gitignore application/views/welcome_message.php user_guide/changelog.html user_guide/database/active_record.html user_guide/database/caching.html user_guide/database/call_function.html user_guide/database/configuration.html user_guide/database/connecting.html user_guide/database/examples.html user_guide/database/fields.html user_guide/database/forge.html user_guide/database/helpers.html user_guide/database/index.html user_guide/database/queries.html user_guide/database/results.html user_guide/database/table_data.html user_guide/database/transactions.html user_guide/database/utilities.html user_guide/doc_style/index.html user_guide/general/alternative_php.html user_guide/general/ancillary_classes.html user_guide/general/autoloader.html user_guide/general/caching.html user_guide/general/cli.html user_guide/general/common_functions.html user_guide/general/controllers.html user_guide/general/core_classes.html user_guide/general/creating_drivers.html user_guide/general/creating_libraries.html user_guide/general/credits.html user_guide/general/drivers.html user_guide/general/environments.html user_guide/general/errors.html user_guide/general/helpers.html user_guide/general/hooks.html user_guide/general/libraries.html user_guide/general/managing_apps.html user_guide/general/models.html user_guide/general/profiling.html user_guide/general/quick_reference.html user_guide/general/requirements.html user_guide/general/reserved_names.html user_guide/general/routing.html user_guide/general/security.html user_guide/general/styleguide.html user_guide/general/urls.html user_guide/general/views.html user_guide/helpers/array_helper.html user_guide/helpers/captcha_helper.html user_guide/helpers/cookie_helper.html user_guide/helpers/date_helper.html user_guide/helpers/directory_helper.html user_guide/helpers/download_helper.html user_guide/helpers/email_helper.html user_guide/helpers/file_helper.html user_guide/helpers/form_helper.html user_guide/helpers/html_helper.html user_guide/helpers/inflector_helper.html user_guide/helpers/language_helper.html user_guide/helpers/number_helper.html user_guide/helpers/path_helper.html user_guide/helpers/security_helper.html user_guide/helpers/smiley_helper.html user_guide/helpers/string_helper.html user_guide/helpers/text_helper.html user_guide/helpers/typography_helper.html user_guide/helpers/url_helper.html user_guide/helpers/xml_helper.html user_guide/index.html user_guide/installation/downloads.html user_guide/installation/index.html user_guide/installation/troubleshooting.html user_guide/installation/upgrade_120.html user_guide/installation/upgrade_130.html user_guide/installation/upgrade_131.html user_guide/installation/upgrade_132.html user_guide/installation/upgrade_133.html user_guide/installation/upgrade_140.html user_guide/installation/upgrade_141.html user_guide/installation/upgrade_150.html user_guide/installation/upgrade_152.html user_guide/installation/upgrade_153.html user_guide/installation/upgrade_154.html user_guide/installation/upgrade_160.html user_guide/installation/upgrade_161.html user_guide/installation/upgrade_162.html user_guide/installation/upgrade_163.html user_guide/installation/upgrade_170.html user_guide/installation/upgrade_171.html user_guide/installation/upgrade_172.html user_guide/installation/upgrade_200.html user_guide/installation/upgrade_201.html user_guide/installation/upgrade_202.html user_guide/installation/upgrade_b11.html user_guide/installation/upgrading.html user_guide/libraries/benchmark.html user_guide/libraries/caching.html user_guide/libraries/calendar.html user_guide/libraries/cart.html user_guide/libraries/config.html user_guide/libraries/email.html user_guide/libraries/encryption.html user_guide/libraries/file_uploading.html user_guide/libraries/form_validation.html user_guide/libraries/ftp.html user_guide/libraries/image_lib.html user_guide/libraries/input.html user_guide/libraries/javascript.html user_guide/libraries/language.html user_guide/libraries/loader.html user_guide/libraries/output.html user_guide/libraries/pagination.html user_guide/libraries/parser.html user_guide/libraries/security.html user_guide/libraries/sessions.html user_guide/libraries/table.html user_guide/libraries/trackback.html user_guide/libraries/typography.html user_guide/libraries/unit_testing.html user_guide/libraries/uri.html user_guide/libraries/user_agent.html user_guide/libraries/xmlrpc.html user_guide/libraries/zip.html user_guide/license.html user_guide/nav/nav.js user_guide/overview/appflow.html user_guide/overview/at_a_glance.html user_guide/overview/cheatsheets.html user_guide/overview/features.html user_guide/overview/getting_started.html user_guide/overview/goals.html user_guide/overview/index.html user_guide/overview/mvc.html user_guide/toc.html Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-15/+15
broke the Typography class's string replacements, for instance
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-15/+15
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-15/+15
2011-04-20Altered Session to use a longer match against the user_agent string. See ↵Greg Aker1-2/+2
upgrade notes if using database sessions.</li
2011-04-18changeset: 2202:06a75a1bd622Greg Aker1-2/+2
tag: tip user: Greg Aker <greg.aker@ellislab.com> date: Mon Apr 18 11:10:37 2011 -0500 summary: Tweak to session class all_userdata() to just return the userdata array. Also documented previously undocumented all_userdata() method.
2011-04-10update to CI 2.0.2Florian Pritz1-2/+3
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-18Consistent handling of 'cookie_secure' setting, also makes the variable ↵tobiasbg1-4/+3
changeable through the Session class constructor
2011-02-11Adding config option to require 'secure' setting for all cookies- requires ↵Robin Sowell1-1/+3
https.
2011-01-28update to CI 2.0Florian Pritz1-16/+33
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-12-07update to CI 1.7.3Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-11-10Changing all class constructors to __construct()Greg Aker1-1/+1
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-07Automated merge with https://bitbucket.org/barrymieny/codeigniterDerek Jones1-1/+1
2010-10-05fixed bug where sess_expire_on_close was not being set from a config file, ↵Derek Jones1-1/+1
fixes #173
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-12/+12
2010-09-02Added a new config item to the Session class (sess_expire_on_close) to allow ↵Derek Jones1-2/+5
sessions to auto-expire when the browser window is closed.
2010-08-31Added fatal error to Session class when no encryption key is set in the ↵Derek Jones1-0/+5
config file, for additional assurance that session manipulation can be prevented
2010-03-29fixed a bug where a PHP error would result when passing objects as values to ↵Derek Jones1-4/+13
the Session class
2010-02-06Initial commitFlorian Pritz1-0/+758
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-01-05updated copyrightsDerek Jones1-1/+1
2009-04-22updated copyrights to 2009Derek Jones1-1/+1
2008-11-13Changing EOL style to LFDerek Allard1-757/+757
2008-11-12Propset eol-style to CRLFDerek Jones1-757/+757
simplified paragraph tag cleanup regex
2008-11-06corrected a few docblock comments to accurately reflect return valuesDerek Allard1-757/+757
removed some unneeded whitespace
2008-10-18Fixed a variable typoRick Ellis1-1/+1
2008-10-18Made some changes to allow slashes to be saved in the serialized cookie data.Rick Ellis1-5/+63
2008-09-24Fixed a bug in the Session class when database sessions are used where upon ↵Derek Jones1-13/+18
session update all userdata would be errantly written to the session cookie. Also rewrote a bit of the cookie handling code to be a bit more efficient and understandable
2008-09-13(no commit message)Rick Ellis1-1/+1
2008-08-22Fixed a comment typoRick Ellis1-1/+1
2008-08-21whitespace fixesDerek Allard1-79/+79
a minor re-ordering of the changelog
2008-08-21Updated the Session class so that if a database is being used, any custom ↵Rick Ellis1-213/+254
data is stored to the DB rather then the cookie.
2008-05-13Some sweeping syntax changes for consistency:Derek Jones1-7/+7
(! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace
2008-05-11Removed closing PHP tags, replaced with a comment block identifying the end ↵Derek Jones1-1/+3
of the file
2008-05-11Undoing change committed in r1115Derek Jones1-0/+1
2008-05-11removed closing PHP tag from all framework filesDerek Jones1-1/+0
2008-05-05Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to ↵Derek Allard1-4/+4
the File Helper. Changed ( ! condition) into (! condition) within the code
2008-03-18added hashing to prevent client side data tampering to sessionsDerek Allard1-0/+20
2008-01-30removed last_visit from the Session classDerek Jones1-8/+2
2008-01-21replaced www.codeigniter.com with codeigniter.comDerek Jones1-3/+3
2008-01-18ExpressionEngine Dev Team in creditDerek Allard1-2/+2
2007-10-04Fixed a typo in the docblock comments that had CodeIgniter spelled CodeIgnitor.Derek Allard1-1/+1
2007-10-01Fixed a bug in the Session library where user agent matching would fail on ↵Derek Allard1-1/+1
user agents ending with a space.
2007-08-10typoDerek Allard1-1/+1
2007-08-10Added Flashdata variables, session_id regeneration and configurable session ↵Derek Allard1-13/+162
update times to the Session class