executing link serverside with asp ?

  • Thread starter Thread starter paul dallaire
  • Start date Start date
If the code needs to run on the browser, the Web visitor can see it. Think
about it. Do you want Web sites running code on your computer that you can't
see?

To truly hide the code from the visitor, you would have to write an
equivalent function in some sort of server-side programming language, such as
ASP.NET, ASP, or PHP.

If you need help with that, explain what the function needs to do and what
langauge you prefer to use.

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
HI! yes I know that I have to run it server side that's why I mentioned that
in my post "How do we execute this in asp server side if possible?"

How to I do this.? its basically a link but with some parameters, the
parameters thought may be the problem as I don't know enough js and asp
together to know how much needs to be changed.

This is the Link below.---------

http://www.site1.com/ffff/jjjgtr.ph...FFFFFF&tuck=aaa&sp=0&ft=4&ftt=1&iw=178&ih=198>=yes&hj=rn&src=yes&nt=no

Now if I type this into a browser it does not work of coarse because its
part of a JavaScript and has parameters attached to it. is there another way
that I can execute this server side in any language but I would prefer ASP
but if Server Side JavaScript is the only way then so it be..

Paul
 
HI! Thanks for response. the script links to a server which in turns then
displays images according to the parameters that is passed. there is also a
username in the form of text in the parameters passed. but the link looks as
is. ( with all user stuff changed of coarse and I false link :) ).

this script is saved in a page called whatever.htm
its called from within an iframe .. the code is below..

<tr>
<td height="175" colspan="3" class="Ctemppicpad"></li>
<iframe src="whatever.htm" name="contentFRM" id="contentFRM"
scrolling="Yes" marginwidth="0" marginheight="0"></iframe>
</tr>

So the iframe calls the whatever.htm file and inserts its content into the
iframe. The content comes from that link to the remote server ( The
images.).

Paul
 
See response in your other post
--




| HI! yes I know that I have to run it server side that's why I mentioned that
| in my post "How do we execute this in asp server side if possible?"
|
| How to I do this.? its basically a link but with some parameters, the
| parameters thought may be the problem as I don't know enough js and asp
| together to know how much needs to be changed.
|
| This is the Link below.---------
|
|
http://www.site1.com/ffff/jjjgtr.ph...FFFFFF&tuck=aaa&sp=0&ft=4&ftt=1&iw=178&ih=198>=yes&hj=rn&src=yes&nt=no
|
| Now if I type this into a browser it does not work of coarse because its
| part of a JavaScript and has parameters attached to it. is there another way
| that I can execute this server side in any language but I would prefer ASP
| but if Server Side JavaScript is the only way then so it be..
|
| Paul
|
| | > If the code needs to run on the browser, the Web visitor can see it. Think
| > about it. Do you want Web sites running code on your computer that you
| > can't
| > see?
| >
| > To truly hide the code from the visitor, you would have to write an
| > equivalent function in some sort of server-side programming language, such
| > as
| > ASP.NET, ASP, or PHP.
| >
| > If you need help with that, explain what the function needs to do and what
| > langauge you prefer to use.
| >
| > Jim Buyens
| > Microsoft MVP
| > http://www.interlacken.com
| > Author of:
| > *----------------------------------------------------
| > |\---------------------------------------------------
| > || Microsoft Windows SharePoint Services Inside Out
| > || Microsoft Office FrontPage 2003 Inside Out
| > ||---------------------------------------------------
| > || Web Database Development Step by Step .NET Edition
| > || Microsoft FrontPage Version 2002 Inside Out
| > || Faster Smarter Beginning Programming
| > || (All from Microsoft Press)
| > |/---------------------------------------------------
| > *----------------------------------------------------
| >
| >
| > "paul dallaire" wrote:
| >
| >> HI! I want to execute a link witch is in JavaScript, How do we execute
| >> this
| >> in asp server side if possible?
| >>
| >> Basically I don't want anyone to see this link in the code view.
| >>
| >> this is the link code. below---------------
| >>
| >> <script TYPE="text/JavaScript" LANGUAGE="JavaScript"
| >>
| >>
src='http://www.site1.com/ffff/jjjgtr.ph...FFFFFF&tuck=aaa&sp=0&ft=4&ftt=1&iw=178&ih=198>=yes&hj=rn&src=yes&nt=no'>
| >> </script>
| >>
| >> Thanks in advance :)
| >>
| >>
| >>
|
|
 
Ah yes, now I see it too. Thanks, Stefan.

Paul, please *do not* cross-post the same question to multiple newsgroups.
This only results in confusion, and in double-work for those of us who
provide the answers.

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
HI! I do it differently now. I did not know that it would react this way.
sorry :)

Paul
 

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