There are URL arguments to pass to web page some text params but is there a way to pass to web site some chunks of binary data about 50-100K in size?
Is there some API that allow to pass such data from custom client not IE browser.
E.g. there is custom application that send to server binary data and recieves some results as binary data also.
You can't have 100k worth of data in a URL. There are limits to how long a URL can be. I don't think that all browsers have standardized on that number, but I think anything over 1000 characters is probably going to cause issues.
You can save the binary information in a file and do a file upload. Then the browser will handle conversions for you. ASP.Net has large chunks of binary data that it passes back and forth called ViewState that uses encryption and base64 encoding. In C# you can certainly write a program that uses WebRequest objects to build a request from scratch.
In general though it doesn't sound like you need the HTTP protocol. It would probably add a lot of overhead.
The easiest way would be to convert the binary to hex represented in ascii, then post the ascii text. On the server side you could convert the ascii back to binary. This adds a lot of overhead, and bloats the data, but if your not too concerned about it, its a easy way to go.
I have created an activex dll object and it works fine when registered manually. I want that activex to install in client browser, if already not. I got from searching that, that can be achieved by creating CAB file.
I have created the CAB file and set it the codebase property of the activex object
It asks for downloading, but not getting installed on client browser.
Any one please lead me to the correct way of building the CAB file or where ever the mistake is. Please ...
ok thanks, for instance, I want a user to enter a userid and upon doing that
I want to connect to the database in the background to check if the id exist, if so,
I will then insert the username for the user.
The whole problem is connecting to the database as the user types which is why I think
ajax would do the trick here even though am not sure how to implement this.
Would you have any help please?
Best would be to use XMLHttpRequest(old times AJAX! ) in order to implement such kind of feature...
On keypress, fire a XHR and check on server about the typed in data(connecting to database) and get back response accordingly.
if you need to know about it, just google it, you will get number of articles on it!