Re: Extracting Source Code

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Bob Barrows [MVP] (reb01501_at_NOyahoo.SPAMcom)
Date: 01/13/05


Date: Thu, 13 Jan 2005 09:42:15 -0500

Keith wrote:
> Is there a way of processing an ASP page and placing the resulting
> HTML source code into a TEXTAREA on another page?
>
> I have a page that will be generated dynamically from database
> content. However, I want a form on another page to have access to the
> compiled source code for use in an electronic newsletter.
>
> Manually I would load the dynamic page, view the source and copy it
> out. I would then paste it into my form field on the relevant page.
>
> Can this be automated?
>
> Thank you

Use a variation of this technique:
http://www.aspfaq.com/show.asp?id=2173

Bob Barrows

-- 
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM" 


Relevant Pages

  • Re: session_start() and JavaScript in IE6 problem, please help!
    ... Check the source code. ... The first time the page is loaded, ... This is a PHP workaround for transmitting session ID when cookies are ...
    (comp.lang.php)
  • Re: session_start() and JavaScript in IE6 problem, please help!
    ... > Check the source code. ... The first time the page is loaded, ... > Your JavaScript code doesn't get objects through name but through position, ...
    (comp.lang.php)
  • Re: Copy Source of a page to a Form Field
    ... > I have a page which contains a TEXTAREA form field. ... > source code for a compiled ASP page (ie. what the user would see if ... > they loaded the ASP page into their browser) and put the source code ... Please reply to the newsgroup. ...
    (microsoft.public.inetserver.asp.general)
  • Extracting Source Code
    ... Is there a way of processing an ASP page and placing the resulting HTML ... source code into a TEXTAREA on another page? ... would then paste it into my form field on the relevant page. ...
    (microsoft.public.inetserver.asp.general)
  • Re: Encrypting?
    ... There is no point to even thinking about "protecting" your source code. ... Protect your sensitive data in other places. ... This email account is my spam trap so ...
    (microsoft.public.inetserver.asp.general)