Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorraslam
     
    hi,

    can I write something like this in views?
    <code>{?post.member_id = session-user-id}</code>
    we are not allowed to use $_SESSION in templates.

    please advise.

    --
    raslam
    •  
      CommentAuthorbermi
     

    $_SESSION['user']['id'] is also available at {params-user-id}