Last post May 05, 2010 05:08 AM by Henxon
Oct 01, 2008 05:32 AM|renuga|LINK
Hi, I am creating a project to display the image using httphandler by hitting a url of the videoserver, can anyone help me how to pass the url value to the httphandler.
for eg: the url of the videoserver is http://188.8.131.52/cgi-bin/video.jpg, how to pass this value to the httphandler
when i access the handler using the following line
here, image1 i s the image control and Imagehandler is the name of the Generic handler
how to pass a value to httphandler
Oct 01, 2008 06:42 AM|Ocean - MSFT|LINK
Please check this link,
Oct 01, 2008 07:05 AM|yrajasekhar|LINK
Hi, You can pass url of the image in query string like this
In HTTP Handler you can get image url by using Request.QueryString["imageurl"]
May 05, 2010 05:08 AM|Henxon|LINK
Be aware that it can be dangerous to send the entire path to the image by various reasons. Using a string in a session is a safer way to pass that information. Or as an alternative, image1.imageURL="agr98gifj", where "agr98gifj" is a hash value, that in
a hash table is translated to a correct image path (e.g. "http://184.108.40.206/cgi-bin/video.jpg").