A co-worker of mine used to have a script that he would run after the
script on the page was executed, it would spit out the SQL of the
query that was dynamically created through all of the gibberish code
in the ASP page.

Does anyone know what exactly he was running?

Any help is greatly appreciated.

Cheers,
Jason

Re: Collect SQL String using script by Bob

Bob
Mon Mar 03 19:17:09 CST 2008

Jason Lepack wrote:
> A co-worker of mine used to have a script that he would run after the
> script on the page was executed, it would spit out the SQL of the
> query that was dynamically created through all of the gibberish code
> in the ASP page.
>
> Does anyone know what exactly he was running?
>
Response.Write?

--
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"



Re: Collect SQL String using script by Brynn

Brynn
Tue Mar 04 19:24:28 CST 2008

On Mar 3, 1:51 pm, Jason Lepack <jlep...@gmail.com> wrote:
> A co-worker of mine used to have a script that he would run after the
> script on the page was executed, it would spit out the SQL of the
> query that was dynamically created through all of the gibberish code
> in the ASP page.
>
> Does anyone know what exactly he was running?
>
> Any help is greatly appreciated.
>
> Cheers,
> Jason

He was probably building the sql code through the site ... that is ...
sql = sql & "some more sql maybe some form requests too".

Then just ...

Response.Write sql

at the end of all that as Bob said.