For Programmers: Free Programming Magazines  


Home > Archive > ASP > October 2004 > programmatically visiting a URL without opening browser session









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 programmatically visiting a URL without opening browser session
Ken Fine

2004-10-25, 8:55 pm

Using ASP, is there an easy way in code to "visit a URL", without opening a
browser session?

Explanation: I have a page caching class. The page caching class's behavior
can effectively be "programmed" via instructions that are sent through the
querystring. When members of our staff update articles using a CMS I
programmed, I would like the cache to be flushed. The cache can be rebuilt
by issuing an instruction via a URL querystring.

I would like the machine to programmatically "visit" two different URLs
without actually showing those pages to the user.

Is there an easy way to do what I want, here?

Thanks.

-KF


Chris Hohmann

2004-10-25, 8:55 pm

"Ken Fine" <kenfine@u.washington.edu> wrote in message
news:cljtnb$vtv$1@gnus01.u.washington.edu...
> Using ASP, is there an easy way in code to "visit a URL", without opening

a
> browser session?
>
> Explanation: I have a page caching class. The page caching class's

behavior
> can effectively be "programmed" via instructions that are sent through the
> querystring. When members of our staff update articles using a CMS I
> programmed, I would like the cache to be flushed. The cache can be rebuilt
> by issuing an instruction via a URL querystring.
>
> I would like the machine to programmatically "visit" two different URLs
> without actually showing those pages to the user.
>
> Is there an easy way to do what I want, here?
>
> Thanks.
>
> -KF


http://aspfaq.com/show.asp?id=2173


Ken Fine

2004-10-25, 8:55 pm

Works great, Chris. Thank you.

-KF


"Chris Hohmann" <nospam@thankyou.com> wrote in message
news:edRf8FuuEHA.4028@TK2MSFTNGP15.phx.gbl...
> "Ken Fine" <kenfine@u.washington.edu> wrote in message
> news:cljtnb$vtv$1@gnus01.u.washington.edu...
opening[color=darkred]
> a
> behavior
the[color=darkred]
rebuilt[color=darkred]
>
> http://aspfaq.com/show.asp?id=2173
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com