Superjer's Cookies

Superjer's Cookies

sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Soups can you tell me how you setup the cookies on your site and how they work?
 
 
 
2012 Jan 17 at 01:48 UTC
the_cloud_system
polly pushy pants

2008 Aug 1 • 3081
-6 ₧
I drink to forget but I always remember.
 
 
 
2012 Jan 17 at 03:09 UTC
SuperJer
Websiteman

2005 Mar 21 • 6666
I think this site uses 5 cookies.

PHPSESSID: This cookie is automatically created by PHP to store a key to your session data. All I did was use session_start() and the $_SESSION array.

sj_freepass: This one stores a long pass-code that is supposed to automatically log you in again if you had "Stylishly" checked. All I do is store the same code in the DB for your user account, and if it matches, you get logged in. I'm not sure if it is working, though.

sj_id: It stores your user_id number from the forum DB. I'm not sure what it's for actually. It might not do anything.

sj_timezone: Just to remember your time zone.

style: Stores whether you have the LIGHT or DARK style selected on the non-forum pages of SJcom.
 
 
 
2012 Jan 18 at 02:17 UTC — Ed. 2012 Jan 18 at 02:18 UTC
Page [1]