Results 1 to 2 of 2

Thread: New session variable

  1. #1
    User tetrijeb's Avatar
    Join Date
    04-19-12.
    Location
    Bosnia&Herzegovina
    Posts
    114

    Default New session variable

    I have to define and use one new custom Front End session variable.

    Could someone explain me where I can define it?
    Last edited by tetrijeb; 10/19/2015 at 20:37.

  2. #2
    New user
    Join Date
    10-22-15.
    Posts
    8

    Default

    Quote Originally Posted by tetrijeb View Post
    I have to define and use one new custom Front End session variable.

    Could someone explain me where I can define it?
    Code:
    $session = Session::getInstance();
    $session->set('foo', 'bar');
    echo $session->get('foo');

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
  •