|
Lord_Veralix wrote: I'm extremely new to ASP
FWIW, ASP and ASP.NET are two different things. ASP.NET is what you appear to be using, which is the right choice.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
To use a third party web service in the site I need to use a special code to communicate with that web service . I dont want the user to be able to see this code in the source code of HTML. I also want to save the code as a javascript variable to communicate with the webservice using ajax. The special code needs to be stored on the browser of the user. How can I do this .
|
|
|
|
|
The only way you could do this, is if you define the variable, make an AJAX call, and return the value to set the variable. Then it won't be visible in the source, although anyone who wants to, can get it using Firebug or similar. There's simply no way to keep anything secret, if it's going to be client side.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks for your reply.
Do you have any idea on how to deal with this ? How should I store the code no matter on the server or client.
One solution would be to encrypt the code , and decrypt it on the server . What class do u recommend for this ?( a class that make finding the code very hard )
|
|
|
|
|
If you don't use the code in the client code, just send it back to the server unchanged, you can surely encrypt and decrypt it on the server side.
Look in the System.Security.Cryptography namespace.
---
single minded; short sighted; long gone;
|
|
|
|
|
give me an idea on how I can store the code on the server as I inform you that I am using a http handlers along with ajax to communicate with the browser . Is there anyway to store a variable on the server and when invoking the http handler we can access that. ( something like session variables ) . I thank you very much . It is very important.
|
|
|
|
|
Hi all,
I'm receiving a parameter from a page, but this parameter comes through as undefined, how in javascript can I check if this parameter is undefined.
I tried the following:
if(button == null)
{
Response.Redirect("url");
}
if(button == undefined)
{
Response.Redirect("url");
}
if(String(button) == "")
{
Response.Redirect("url");
}
But none seems to work.
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Got it working,
if(button == "undefined")
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for mymailaddress@gmail.com
|
|
|
|
|
Do you have a question ? How do you send this mail ? Is mymailaddress.gmail.com the sender address, or the recipient ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi all,
Could someone tell me why xmlserializer works only on public fields unlike binary serializer.
also why there are only 249 non-clustered indexes ,is there any significance with the no 249.
Thanks
sri
|
|
|
|
|
Two separate questions. Neither of which relate to ASP.NET. The first question should be asked in the .NET forum, the second in the SQL Forum.
|
|
|
|
|
How can we restrict access to our http handler to only users who are in a certain page of our site. I mean using a http handler with XmlRequest object in a certain page. invoking the :
xmlHttpObj.open('GET','http://thesite/BT_Start.ashx', true);
in any page other than the one we want should be failed and return nothing .
How can we do this ?
|
|
|
|
|
Check the referr property of the request in the handler.
|
|
|
|
|
Hi all,
Hai in project how to rewrite the URl.ex http://localhost/wild/events.aspx?Action=Event to http://localhost/wild/events.aspx/Event
like this
|
|
|
|
|
Rmesh wrote: Hai in project how to rewrite the URl.ex http://localhost/wild/events.aspx?Action=Event to http://localhost/wild/events.aspx/Event
Write an HTTPModule that checks all incoming requests, and if it matches to your criteria, use HTTPContext.RewritePath() method to rewrite path. But I don't think that you can make URL's ex tensionless like what you need.
|
|
|
|
|
I have tried that one but the url was not rewritten
|
|
|
|
|
Rmesh wrote: I have tried that one but the url was not rewritten
Could you explain how you did that ? How you came to know that URL was not rewritten ?
|
|
|
|
|
Try Googling a bit, this[^] returned as the second result.
|
|
|
|
|
|
|
hai all,
i need to send SMS from asp.net... we have bought SMS send API in one third party... they wil give some asp coding... But i couldn't get from that coding...
This is the URL- http://www.znisms.com/api.html ....... that asp coding is in this url.....
Pls anayls that URL and if u have any idea reply me... this is urgent...
Thanks And Regards,
vidyasankar N
pain gives gain
|
|
|
|
|
Hi All,
Recently i came here to discuss the issue, how to secure files (pdf), the recomendation was httphandelers, it works absolutely great.But now an new issue has been arrived.
What i did , i registerd ISAPI extension (.pdf) in IIS 6.0,to let process the request to ASP.Net runtime, there i used context.response.transmitfile to send the file to the browser, as client will be viewing file in browser not downloading, but in case when file is bigger than 20 MB ,(file can be upto 100MB), it takes time, obviously it should take.
But when we redirect or request pdf file without registering ISAPI extension, browser starts showing file, means you see instantly first page or few pages while other are downloading, how to achive this kind of performance, and this kind of behaviour, with letting asp.net runtime process the request.
I hope you guys get my question & if any explaination needed please ask.
Note: Same issue with uploading files with .Net uploader control, even after we change machine.config file size attribute, i want suggestion about better performance, when many users are doing both uploading, and viewing files from repository.
Thanks in advance for sharing your wise suggestions with me.
Many Thanks,
Adnan
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
Can you guys help me on this thread,
Many thanks,adnan
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
heloo, will you guys comment on this thread....?
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|