Hi all,
I am working on a project that works with a third party merchant service (Authorize.net CIM). I currently have an order form that uses ajax to do all the dirty work, and this includes inserting a new user into the members table.
I am trying to work out the best way of automatically logging in a new user upon registering/purchasing so that if they were to make an immediate additional purchase, all information would be available in the $SESS>-user_data array.
Is there a function available to do this?
I could write one myself, but would just need to know what cookies to set, etc.
Any ideas?
Thanks in advance.
[Mod Edit: Moved to the How to forum]