Set-Cookie

How can I set cookie that contains the membership level in http response?
I came across function bx_login($iId, $bRememberMe = false) but I haven't been successful in setting a cookie that can capture the membership level based on this example [[setcookie("memberID", $iId, $iCookieTime, $sPath, $sHost);    $_COOKIE['memberID'] = $iId;]]
my main problem resides in defining the $membershipLevel variable. Can someone help me with this please?

  • 453
  • More
Replies (1)
    Login or Join to comment.