Josh Sherman
df0ef6d959
Reworked sessions and added Redis handler
...
Requires phpredis to be installed.
2013-02-20 19:03:51 -05:00
Josh Sherman
b4eb28f945
Added logic to NOT start sessions for bots
2013-02-20 11:25:04 -05:00
Josh Sherman
5ccdeb64a7
Added back memcached support for sessions
2013-02-12 00:20:48 -05:00
Josh Sherman
4b414783f0
Checking that the session handle worked
...
Hadn't used MySQL mode in a while, seems to work fine. Going to add memcached support back in as well.
2013-02-12 00:11:56 -05:00
Josh Sherman
482f77c10b
Set _REQUEST['request'] by default
...
Should alleviate some redundant isset()s throughout a site's code
2012-10-11 22:50:32 -04:00
Josh Sherman
8dc808330c
Removed memcached session option
...
Memcached is considered a bad choice for sessions as when it's full, it purges old keys and could end up purging user sessions. You can solve this with more memory, but it's a ton easier to keep it on disk in a single server setup and in the database when running a cluster.
2012-10-10 19:23:06 -04:00
Josh Sherman
6f114361bd
Updated copyright, website and contact email
2012-09-30 12:40:29 -04:00
Josh Sherman
7f52efdbde
Skip session start from CLI
...
Added check of the IS_CLI constant to determine if we should start the session or not.
2011-11-20 11:19:27 -05:00
Josh Sherman
bc78fd61e8
Expanded session handling to include memcached.
2011-07-23 23:47:46 -04:00
Josh Sherman
bf4b86116f
Added closing ?>
2011-06-01 22:55:38 -04:00
Josh Sherman
ccf728605d
Sessions in the database were not destroying correctly.
2011-05-14 09:54:00 -04:00
Josh Sherman
996241debb
Updated headers to have 2011 in the copyright date. Also updated copyright to my name as the LLC is currently defunct.
2011-05-09 22:14:55 -04:00
Josh Sherman
2bb9fd10e4
Fixed issue with session_destroy()
2011-01-20 22:14:33 -05:00
Josh Sherman
24770b2e9c
Moved session set handler out of the Session class.
2011-01-20 20:45:48 -05:00
Josh Sherman
04471d607a
Added database session handling.
2011-01-16 15:40:59 -05:00
Josh Sherman
5390e37612
Ditched the POS Session class in favor of just interacting with the session directly. Added more to the store / cart.
...
git-svn-id: http://svn.cleancode.org/svn/pickles@56 4d10bc64-7434-11dc-a737-d2d0f8310089
2008-09-23 02:21:55 +00:00
Josh Sherman
1784514696
Massive amounts of documentation has been added.
...
git-svn-id: http://svn.cleancode.org/svn/pickles@55 4d10bc64-7434-11dc-a737-d2d0f8310089
2008-09-22 01:43:18 +00:00
Josh Sherman
66338a66bb
Fixed the autoload issue when unserializing objects stored in the session. Added in the freeze / thaw methods for storing singleton objects in the session for later retrieval.
...
git-svn-id: http://svn.cleancode.org/svn/pickles@36 4d10bc64-7434-11dc-a737-d2d0f8310089
2008-08-15 04:49:02 +00:00
Josh Sherman
046d265347
Added the new classes and stuff.
...
git-svn-id: http://svn.cleancode.org/svn/pickles@30 4d10bc64-7434-11dc-a737-d2d0f8310089
2008-07-12 23:28:44 +00:00