Cookies?

Discussion in 'Integration' started by Guest_Marc, Aug 18, 2003.

  1. Guest_Marc

    Guest_Marc Guest

    Hi, I am am using the httpd_secure method of authentication since I have to run PHP as CGI to run Ioncube, and PHP rewrite does not work when PHP is run as CGI. I am trying to set a cookie on login so paid members can hop around to any area of the site and

    1) still be logged in
    2) see the "member menu" even when visiting "free" pages

    The way I was planning to do this was to look for a cookie and include a different menu depending on whether the user is paid or not. Since the httpd_secure method doesn't rely on cookies I'm not really sure how and at what point I should send a cookie to the client computer? Any suggestions? Thanks

    -Marc
  2. alex-adm

    alex-adm Guest

    htpasswd_secure relies on cookies - member cannot login without setting a cookie and login via aMember CP php page.
    Go to aMember CP -> Setup -> php_include (you have to keep it enabled)
    and enable "Remember Password in Cookie" settings - it will work.

Share This Page