Microsoft Content Management Server - Retrieve images from unpublished mode

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > May 2004 > Retrieve images from unpublished mode





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Retrieve images from unpublished mode
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 ?
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com