simpjd Posted March 27, 2009 Share Posted March 27, 2009 I'm trying to write some code that will authenticate a session. Let me explain: I'm developing the back end of an e commerce site. When an item is shipped, the tracking info is stored. If the user wants to track the item, they have to log into the couriers website and enter tracking details. I want to write some code that will make a valid session that someone could use to take them strait to the tracking info. I haven't written any code yet because I dont know where to start! Maybe curl??? I want the user to be able to use the session as well. This may require some javascript? Hope this makes sense and someone can help! Quote Link to comment Share on other sites More sharing options...
revraz Posted March 27, 2009 Share Posted March 27, 2009 If its not on your domain, your session won't carry over to another site Quote Link to comment Share on other sites More sharing options...
Psycho Posted March 27, 2009 Share Posted March 27, 2009 Why not build a solution that pulls the tracking info directly from the courier and display on your site. All the major couriers off this functionality. Here's a link to UPS's solution: http://www.ups.com/content/us/en/tracking/tools/index.html Quote Link to comment Share on other sites More sharing options...
simpjd Posted March 27, 2009 Author Share Posted March 27, 2009 Ok but my courier doesn't offer this. Think of it another way, I want a link that logs me into a site automatically.... Quote Link to comment Share on other sites More sharing options...
poelinca Posted March 28, 2009 Share Posted March 28, 2009 Send a link of you`re curriers API ( usualy they give you small examples ) . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.