Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

How to mimic a user's browser session

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Larry Bud - 05 Dec 2007 18:48 GMT
I've got some SQL data file of names/addresses that I would like to
import on a daily basis into the FedEx.com website's address book.  If
you have a FedEx account (like our company does), you can manually do
an import of a CSV file.

I would like to eliminate manual intervention into this.  We don't
signup for the FedEx software to run locally (which from what I
understand, they have an API to interact with).

So the only solution I can think of is to attempt to mimic a users
input by making HTTP calls to the site, but I really don't know where
to start with this, or if it's even possible.

So for example I would have to
1) go to the FedEx home page
2) enter a username/password
3) go to their shipping page
4) go to the address book tab
5) click on import
6) click on browse and set the filename, choose file type from the
drop down
7) click import now

Can I emulate this action from code?  I would think I can since
everything boils down to an HTTP call, but is it practical?
DNB - 05 Dec 2007 20:06 GMT
I don't think it is practical....also what if tomorrow fedex changed there
interface, then again you need to rewrite new code.

Well good luck
DNB

> I've got some SQL data file of names/addresses that I would like to
> import on a daily basis into the FedEx.com website's address book.  If
[quoted text clipped - 21 lines]
> Can I emulate this action from code?  I would think I can since
> everything boils down to an HTTP call, but is it practical?
Larry Bud - 05 Dec 2007 21:03 GMT
> I don't think it is practical....also what if tomorrow fedex changed there
> interface, then again you need to rewrite new code.
[quoted text clipped - 29 lines]
>
> - Show quoted text -

True, good point.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.