Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected function _start()
- {
- // start session if not startet
- if ($this->_state == 'restart') {
- session_id($this->_createId());
- } else {
- $session_name = session_name();
- if (!JRequest::getVar($session_name, false, 'COOKIE')) {
- if (JRequest::getVar($session_name)) {
- session_id(JRequest::getVar($session_name));
- setcookie($session_name, '', time() - 3600);
- }
- }
- }
- session_cache_limiter('none');
- session_start();
- // Send modified header for IE 6.0 Security Policy
- // Joomla! 1.6: Moved to configurable plugin due to security concerns
- //header('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"');
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement