• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug APIs, Hacks & Tricks Auto login assistance please

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Jun-27-2005, 08:08 AM
#1
Naledge2u is offline Naledge2u OP
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
Old Jul-01-2005, 10:26 AM
#2
adamc is offline adamc
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:
Originally Posted by Naledge2u
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?
Old Jul-01-2005, 01:30 PM
#3
Nikolai is offline Nikolai
Darth SLR
Nikolai's Avatar
It's *really* easy
Quote:
Originally Posted by Naledge2u
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?
SM does NOT recommend stroring the password. But there is a way around.
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

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump