Campustream 1.0
A social network MQP for WPI
application/config/sessions.php
Go to the documentation of this file.
00001 <?
00002 /*
00003  * Session configuration for Campustream. Chances are you won't have
00004  * to edit any of this, unless the domain or Memcached address changes.
00005  */
00006  
00007 // Should we use memcached for sessions?
00008 //ini_set('session.save_handler',  'memcached');
00009 $SESSION_HANDLER = 'memcached';
00010 
00011 // The domain name where this site is hosted
00012 $SESSION_DOMAIN    = '.campustream.com';
00013 
00014 // Name to prefix to the beginning of user sessions
00015 // Changing this will reset all user sessions
00016 $SESSION_PREFIX    = 'cs1';
00017 
00018 // If using memcached for user sessions
00019 $SESSION_SAVE_PATH = "127.0.0.1:11211";
00020 
00021 // This is a random string used to secure site cookies
00022 // You should probably change this for your own site
00023 $SIGNED_COOKIE_TOKEN  = 'FSDYHLi867Nl867nl8NDLInlsdiyfFGb';
00024 
00025 // This is also a random string, change it and don't tell anyone!
00026 $SIGNED_COOKIE_SECRET = 'fsldf*asnDLKSdlkndf-dkjnlsdf_jkfdI';
00027 
00028 // What object should be stored to
00029 // define the session?
00030 $SESSION_OBJECT = 'User_Model';