Ask a Question related to ASP Database, Design and Development.
-
George Kentman #1
ASP Code not interpreted
Hi there,
I am storing asp code as content in a table field (MS SQL Server).
When I try to display it via a HTML page only the HTML is interpreted,
but not the asp code.
What is the problem?
Regards
George Kentman Guest
-
Power of Interpreted Languages
Some general questiosn concerning interpreted lanaguages (and their JIT couterparts). How far do you think an interpreted language can go? In... -
Stuff inside <? ... ?> not being interpreted
Hi all. I have some scripts that switch between plain HTML and PHP. eg: <img src="<? echo($myimage) ; ?>" alt="myimage.jpg"> On my old... -
PHP - Interpreted or Compiled Language
"Binay Agarwal" <binay@m-web.com> wrote in message news:013e01c361f9$982f3f10$5500a8c0@graphx... Beeing compiled or interpreted is not... -
[PHP] PHP - Interpreted or Compiled Language
Thanks jay for quick response I'll tell you what really forced me to go in the matter of interpreted or Compiled language. In the heart of PHP... -
[PHP] PHP - Interpreted or Compiled Language
PHP is most definitely an interpreted language. -Jackson On Thursday 14 August 2003 8:37, breath wrote: -- jackson miller cold feet... -
John #2
Re: ASP Code not interpreted
Please give some exemples of the content of the record and the asp code to
show.
John Guest
-
Aaron [SQL Server MVP] #3
Re: ASP Code not interpreted
ASP only runs once. You can't store ASP code in the database, retrieve it
using ASP, and then expect it to run.
Can you give a better description of exactly what you are trying to
accomplish? What ASP code is in the database, and what do you expect to
happen?
--
[url]http://www.aspfaq.com/[/url]
(Reverse address to reply.)
"George Kentman" <Kentman@gmx.de> wrote in message
news:cf1f7203.0407210204.4a0536f3@posting.google.c om...> Hi there,
>
> I am storing asp code as content in a table field (MS SQL Server).
> When I try to display it via a HTML page only the HTML is interpreted,
> but not the asp code.
> What is the problem?
>
> Regards
Aaron [SQL Server MVP] Guest
-
Jeff Cochran #4
Re: ASP Code not interpreted
On 21 Jul 2004 03:04:01 -0700, [email]Kentman@gmx.de[/email] (George Kentman) wrote:
Probably what you're attempting to do with it. If the ASP is content>I am storing asp code as content in a table field (MS SQL Server).
>When I try to display it via a HTML page only the HTML is interpreted,
>but not the asp code.
>What is the problem?
in the database and you're retrieving that content in an ASP page, the
ASP has already been processed by the time the content is sent to the
browser. Since ASP has to be processed by the server, sending it to
the browser as content from a database won't work.
Perhaps if you went into detail on what it was, how you wanted to use
it and why, we could suggest a wrokable alternative.
Jeff
Jeff Cochran Guest
-
George Kentman #5
Re: ASP Code not interpreted
[email]Kentman@gmx.de[/email] (George Kentman) wrote in message news:<cf1f7203.0407210204.4a0536f3@posting.google. com>...
It's like most of you guessed ;)> Hi there,
>
> I am storing asp code as content in a table field (MS SQL Server).
> When I try to display it via a HTML page only the HTML is interpreted,
> but not the asp code.
> What is the problem?
>
> Regards
I am storing ASP Code which may contain Code for the execution of
SQL-Statements e.g. retrieving client data from the database and I
want that information to be displayed on HTML pages. The reason why I
am storing the code as content is the cms application that stands
behind it and is responsible for the HTML design.
Greetings
George Kentman Guest
-
Aaron [SQL Server MVP] #6
Re: ASP Code not interpreted
> I am storing ASP Code which may contain Code for the execution of
Why not store JUST the SQL statements? Then you can pull them from the> SQL-Statements e.g. retrieving client data from the database
database like this:
set rs = conn.execute("SELECT sqlStatement FROM sometable WHERE ... ")
newSQL = rs(0)
set rs = conn.execute(newSQL)
do while not rs.eof
...
rs.movenext
loop
--
[url]http://www.aspfaq.com/[/url]
(Reverse address to reply.)
Aaron [SQL Server MVP] Guest
-
Jeff Cochran #7
Re: ASP Code not interpreted
On 22 Jul 2004 01:28:28 -0700, [email]Kentman@gmx.de[/email] (George Kentman) wrote:
You'll likely need to split your pages then, the first request is for>Kentman@gmx.de (George Kentman) wrote in message news:<cf1f7203.0407210204.4a0536f3@posting.google. com>...>>> Hi there,
>>
>> I am storing asp code as content in a table field (MS SQL Server).
>> When I try to display it via a HTML page only the HTML is interpreted,
>> but not the asp code.
>> What is the problem?
>>
>> Regards
>It's like most of you guessed ;)
>I am storing ASP Code which may contain Code for the execution of
>SQL-Statements e.g. retrieving client data from the database and I
>want that information to be displayed on HTML pages. The reason why I
>am storing the code as content is the cms application that stands
>behind it and is responsible for the HTML design.
the info to build the real page, with a Server.Transfer to call that
second page. If you don't need the ASP you could store the SQL
queries and call them from the database as part of your query.
Jeff
Jeff Cochran Guest



Reply With Quote

