|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Beginner grinner
|
Auto login assistance please
I'm new here so if this has been answered before, forgive me I just haven't been able to locate the answer.
On my current website I capture login and email info, I want to be able to pass this info over to smugmug and auto login a client with out having them login twice. Currently I capture firstname, lastname, email addy, and password - I can write this to my database for tracking and marketing. Is there a way to use the same password and log someone into smugmug after I have completed writing the data to my database? Last edited by Naledge2u; Jun-30-2005 at 05:11 AM. Reason: No responses |
|
|
|
|
#2
|
||
|
Big grins
|
I can help with at least the technical issue, although there may be some legal implications to doing things like this, so someone from SM may want to weigh in with their opinion. Basically, all I think you would need is to get a sessionID using the login call through one of the xml apis to which we have access. Then, just store this in a cookie in the same format that sm uses (see your cookie folder after login for the specifics) and you should be good. DISCLAIMER: I haven't tried this.
Quote:
|
|
|
|
||
|
#3
|
||
|
Darth SLR
|
It's *really* easy
Quote:
Once you login you'll get the hash back. You can store and reuse this hash as long as it's valid. Once it's become invalid you'll simply request password again, obtain new hash, store it, etc. HTH
__________________
"May the f/stop be with you!" Star*Explorer: on Dgrin, home; Master Class: open; Class is in session, My Facebook, @DarthSLR, #NiksTips member: NAPP, PPA, partner: Adobe Comprehending life, universe and everything - one pixel at a time |
|
|
|
||
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|