Example #1
0
<?php

/**
 * Copyright 2011 - Inform8
 * http://www.inform8.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License")
 * http://www.apache.org/licenses/LICENSE-2.0
 */
// set the indexing session key
Session::setSiteKey(StaticConfig::getSiteName());
// load the session
$session = Session::getInstance();