Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorraslam
    • CommentTimeOct 29th 2007
     
    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
    • CommentTimeOct 31st 2007
     

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

Add your comments
    Username Password
  • Format comments as