Using amember cookie for other application?

Discussion in 'Troubleshooting' started by conan, Oct 13, 2004.

  1. conan

    conan Guest

    Hi there.

    Probably an easy one for most of you but I can't find the answer in the forum so here goes .............

    I have set up amember to protect and control the subscription and viewing of a folder on the server.

    The folder contains .php pages where these are used to search and view bond issuers with the cusip prices etc coming from the main online mysql database. This all works great.

    Now I've been asked to set up a portfolio for clients so they can click on one of the search results (The Cusip) which will be something like 008911AG4 and this can be added to their own portfolio.

    The catch for me is that I need to use the Username and password thats already being used by amember (as thats what let them into the folder in the first place), so I can make something in Dreamweaver with regards to the portfolio which will need a cookie holding the Username and password to insert data into the correct mysql 'portfolio' table. I'm using php_include as the other 2 options result in

    php_include+mod_rewrite (Unable to fetch result of test from http://www.tester.com/members/data/tests/mod_rewrite/1.php)


    php_include+auto_prepend_file (Unable to fetch result of test from http://www.tester.com/members/data/tests/auto_prepend_file/1.htm)



    But thats something that can wait!!


    Any help would be great and if your ever near Ottawa, Ontario, I'll get you a beer.......or two :D


    Thanks

    Andrew
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Answered in the helpdesk.
  3. conan

    conan Guest

    Thanks Alex

    Thanks for the reply

    Will spend a few days getting my head around sessions and see what wonders I can come up with within Dreamweaver.

    Andrew
  4. jasondavis

    jasondavis New Member

    Joined:
    Aug 1, 2003
    Messages:
    85
    I use ther username and ids of my users on many custom php scripts through the sessions

Share This Page