| Martin Bisgaard Andersen 2004-05-19, 5:49 pm |
| I am trying to make a function in an asp page, to create a compilation
of postings in unpublished mode automatically. My function retrieves
the postings in this way:
Set objIE = server.CreateObject("InternetExplorer.Application")
objIE.Navigate "http://" & request.servervariables("SERVER_NAME") &
"/login.asp"
Do Until objIE.ReadyState = 4
Loop
objIE.Navigate "http://" & request.servervariables("SERVER_NAME") &
"/NR/exeres/4FFA8DAA-044E-42CA-8D32-C237F9AE089A,B1596EC7-8A67-4BBE-BD9C-12709339EDC0,frameless.htm?NRMODE=Unpublished"
Do Until objIE.ReadyState = 4
Loop
response.write objIE.Document.Body.InnerHTML
The login.asp handles user login. But when the pages are loaded in my
browser, I can't see the images in each posting, probably because my
own browser doesn't run in the same context as my objIE object. Does
anyone see a solution to this problem ?
|