[INC] Client Preferences Stocks
1 Attachment(s)
A simple little include that extends functionality of the cookie system with stocks that set or get specific data types from a cookie's string value. Also includes a Cookie methodmap for you object lovers out there. All of these will error out if given an invalid handle or the given clients cookies are not cached. I provide no guarantees everything will work as intended or at all!
If you are including this, don't include clientprefs, this already includes it! Contents: Cookie methods: Code:
methodmap Cookie < Handle
|
Re: [INC] Client Preferences Stocks
Thanks for this!
|
Re: [INC] Client Preferences Stocks
Updated to add a couple helpers
You can also find an experiment to create a cookie value out of an array of values, I have never tested it nor proofread it, use at your own discretion |
Re: [INC] Client Preferences Stocks
Sick! Already thinking of what I can use this for.
|
All times are GMT -4. The time now is 04:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.