Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 05, 2010 09:08 AM by Henxon
Oct 01, 2008 09:32 AM|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://184.108.40.206/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 10:42 AM|LINK
Please check this link,
Oct 01, 2008 11:05 AM|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 09:08 AM|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://220.127.116.11/cgi-bin/video.jpg").