Esempio n. 1
0
 /**
  * Get encrypted session identifier.
  * No reason use crypt key for session id encryption, we can use session identifier as is.
  *
  * @return string
  */
 public function getEncryptedSessionId()
 {
     if (!self::$_encryptedSessionId) {
         self::$_encryptedSessionId = $this->getSessionId();
     }
     return self::$_encryptedSessionId;
 }
Esempio n. 2
0
 /**
  * Get ecrypted session identifuer
  * No reason use crypt key for session id encryption
  * we can use session identifier as is
  *
  * @return string
  */
 public function getEncryptedSessionId()
 {
     if (!self::$_encryptedSessionId) {
         //            $helper = AO::helper('core');
         //            if (!$helper) {
         //                return $this;
         //            }
         //            self::$_encryptedSessionId = $helper->encrypt($this->getSessionId());
         self::$_encryptedSessionId = $this->getSessionId();
     }
     return self::$_encryptedSessionId;
 }
Esempio n. 3
0
 /**
  * Get ecrypted session identifuer
  * No reason use crypt key for session id encryption
  * we can use session identifier as is
  *
  * @return string
  */
 public function getEncryptedSessionId()
 {
     if (!self::$_encryptedSessionId) {
         //            $helper = Mage::helper('Mage_Core_Helper_Data');
         //            if (!$helper) {
         //                return $this;
         //            }
         //            self::$_encryptedSessionId = $helper->encrypt($this->getSessionId());
         self::$_encryptedSessionId = $this->getSessionId();
     }
     return self::$_encryptedSessionId;
 }
Esempio n. 4
0
 public function getEncryptedSessionId()
 {
     if (!self::$_encryptedSessionId) {
         $helper = Mage::helper('core');
         if (!$helper) {
             return $this;
         }
         self::$_encryptedSessionId = $helper->encrypt($this->getSessionId());
     }
     return self::$_encryptedSessionId;
 }