Joshua Sherman
c9f39e2e18
Updated email address
2014-01-20 15:19:38 -05:00
Joshua Sherman
200988eecf
Swapped all array() for the shorthand []
...
Also finished up coverage on the Cache class.
2014-01-15 14:09:54 -05:00
Joshua Sherman
aecdd0981f
Finished tests for Config class
2014-01-15 13:46:17 -05:00
Joshua Sherman
35d03eb719
Finished up session class rework and testing
2014-01-13 01:39:14 -05:00
Joshua Sherman
f1ecc27029
Ripped out the MySQL session handling
...
Write heavy operations like sessions fare much better in Redis or (sic)
Memcache[d] so I've dropped support for MySQL sessions entirely.
2014-01-13 01:06:07 -05:00
Joshua Sherman
8fc726b983
Updated copyright date.
...
It's a new year, figured it would be nice to get this done before summer time
like most years.
2014-01-05 13:44:25 -05:00
Joshua Sherman
64dc006b5f
Documented some stuff, refactoring some other stuff
...
Moved re-used object instances to the Object class and added object loader logic to the constructor.
2013-12-30 15:47:13 -05:00
Josh Sherman
d96181c60f
Q4 2013, seemed like a good time to update the copyright notices
2013-11-04 17:36:04 -05:00
Josh Sherman
8cd9c31508
Added dynamic prefix to the Redis session handler
2013-06-17 18:09:26 -04:00
Josh Sherman
d25b042d8e
Revert "Reworked Database stuff to be Datastore stuff"
...
This reverts commit ebd0018473
.
2013-02-26 15:14:17 -05:00
Josh Sherman
ebd0018473
Reworked Database stuff to be Datastore stuff
...
Wanted a generic grouping for all datastores so there's a place for memcached and redis.
2013-02-26 10:15:52 -05:00
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