Magento Expert Forum - Improve your Magento experience

Results 1 to 3 of 3

How to use sessions in magneto?

  1. #1

  2. #2
    Junior Member
    Join Date
    Sep 2018
    Location
    Canada
    Posts
    873
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Set a session variable, Greeting is the variable name, the prefix set is have to set this variable. Mage::getSingleton( 'center/session' )- >setGreeting( "hello how are you!" ); Retrieve the session variable Greeting utilizing the get prefix.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •