aspx-file created on the fly?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,

i am currently investigating a bug in a complex code project. unfortunately
i cannot ask the developer having written it as he has left the company.

the thing is: a .cs-code-behind-file of an .aspx-page interacts with
client-side jscript-code. the .cs-file is sent to the client as to be seen
inside a sniffer. when taking a look at the original code one only can see
the definition of the variables. looking inside the sniffer trace one can see
that the variables are filled, coming from the settings of the logged-in
user. hereby the registry is used, but obviously a wrong key, which is
subject to be debugged.

what i do not understand: how can this be that th file.aspx, which is sent
to the client, is different to the original one, which only contains a
code-behind-dll (which itself is created from the file.aspx.cs)? in other
words: how does this work that the file.aspx is create on the fly? is there a
link describing that way of working? i was under the assumption that only
code like jscript is sent to the client...

thanks in advance, fritz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top