Just another WordPress.com weblog

You can create new session using below syntax:

Mage::getSingleton('core/session')->setYourVariable('data');
$Data = Mage::getSingleton('core/session')->getYourVariable();
-Bijal Bhavsar 🙂
Advertisements

Comments on: "How to set session and get session in magento" (3)

  1. […] How to set session and get session in magento September 2009 4 […]

  2. Ramkrishna said:

    Thanks Bijju…
    Regards to all 🙂

  3. Syntax3rror said:

    Nice.. !! this what I looking for.

    Thnaks for posting

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: