Setting cookie from custom plugin

Discussion in 'Customization & add-ons' started by skippybosco, Sep 25, 2008.

  1. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    I'm developing a 3rd party integration plugin for aMember.

    I'm attempting to set cookies during the after_login function using:

    setcookie("app_user", $member['login');

    but the cookie is not retained by the session.

    Any ideas? Anything special I need to be doing to have it retained?

    I've tried wrapping the plugin in a class (public) and not..

    Has anyone else run into this?

Share This Page