473,397 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Using webservice.htc, Read it has a memory leak,suggest Another approach

Hello all,

I have a grid that im updating using webservice.htc after every 5 sec.
But i read after i used it that webservice.htc has severe memory
leak.(my badluck :) )

So, now someone suggested me to write my own webservice
behaviuor,...ahh

Plus, this website is ssl enabled and my webservice is not..and im not
being able to call a nonsecure webservice method from a https webpage
using webservice.htc...

So, i have some questions..

1) How bad is the webservice.htc? and if i replace it than what other
choice do i have..
shud i write my own webservice layer considering all the https thing..
OR, will it work just by using xmlhttprequest or is it AJAX..

2) What is the difference between xmlhttprequest and AJAX...?

3) And if u think that i shud just stick with webservice.htc than plz
help me on the https thing..how do i call a nonsecure webservice method
from https webpage...(is it possible)

Plz help me out and give any suggestions..

Thanks..
Cheers..

Bye

Mar 8 '06 #1
1 1548
batista wrote:
1) How bad is the webservice.htc? and if i replace it than what other
choice do i have..
These .htc files don't work on other browsers, anyway it looks like a
nice solution to solve some IE problems.

It seems that people tried to standardize it
<URL:http://www.w3.org/TR/NOTE-HTMLComponents>, but it's just a note on
w3.org.

This: <URL:http://weblogs.asp.net/pleloup/archive/2004/01/16/59470.aspx>
looks interesting, but I don't think it's a nice solution.

So, avoid using .htc =b
shud i write my own webservice layer considering all the https thing..
OR, will it work just by using xmlhttprequest or is it AJAX..
Yeah, you should... The http communication is already implemented on the
object, you just need to know some few things, like handling return codes.
2) What is the difference between xmlhttprequest and AJAX...?


AJAX is just an idiot term "Asynchronous JavaScript And XML"
<URL:http://adaptivepath.com/publications/essays/archives/000385.php>
and the HttpRequest is part of what this term describes.

So, forget about AJAX, you just need to know the XMLHttpRequest object ;]
--
Now with alcohol <URL:http://youtube.com/watch?v=lnQTZxqxc10> =X
Jonas Raoni Soares Silva
http://www.jsfromhell.com
Mar 12 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Debian User | last post by:
Hi, I'm trying to discover a memory leak on a program of mine. I've taken several approaches, but the leak still resists to appear. First of all, I've tried to use the garbage collector to...
10
by: eyh5 | last post by:
Hi, My C code (running on Soalris Unix) has some "segmentation fault" that I wish to use purify to do it. I poked around the web, and found some information about adding some lines in a Makefile...
25
by: Zeng | last post by:
I finally narrowed down my code to this situation, quite a few (not all) of my CMyClass objects got hold up after each run of this function via the simple webpage that shows NumberEd editbox. My...
4
by: Chris Bardon | last post by:
I'm working on an application where I need to be able to call a .net web service from javascript. I found the webservice.htc file, and was able to create a page that worked just fine, except that...
0
by: Nalla | last post by:
Hi, I have a requirement to call webservices from my old C++ application.So first I tried with Vc++.net as follows.....There are 2 approach Dotnet frame work and soaptoolkit 3.0 I am not able to...
2
by: Mufasa | last post by:
I've got a system where one of the processes that is running (not done by me) is causing a memory leak. This is a process I call so I'm trying to find out how much memory it's using. What I want to...
1
by: soni2926 | last post by:
hi, we currently have a site done using asp.net 2.0, one of the pages has a datagrid, which displays some information. currently there is a refresh button, but we want to change this so that every...
22
by: Peter | last post by:
I am using VS2008. I have a Windows Service application which creates Crystal Reports. This is a multi theaded application which can run several reports at one time. My problem - there is a...
3
by: not_a_commie | last post by:
The CLR won't garbage collect until it needs to. You should see the memory usage climb for some time before stabilizing. Can you change your declaration to use the 'out' keyword rather than a 'ref'...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.