Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Company_Mymodule_UserController extends Mage_Core_Controller_Front_Action{
- /*
- * @see app/code/core/Mage/Api/Controller/Action.php
- */
- public function preDispatch()
- {
- $this->getLayout()->setArea($this->_currentArea);
- $this->setFlag('', self::FLAG_NO_START_SESSION, 1); // Do not start standart session
- parent::preDispatch();
- return $this;
- }
- public function userAction(){
- echo "Don't create a user session at all if this action gets called!';
- }
- }
Add Comment
Please, Sign In to add comment