Hi,
 
I 've thousands of secure images i dont want those images be cached in client's 
browser, what should i do for this?
 
i've ASP code for dong this, lemme show you.
<---- image.asp?img=image1.jpeg ---->
<%
  Response.AddHeader "pragma","no-cache"
  Response.AddHeader "cache-control","private" 
  Response.CacheControl = "no-cache
 
  URL = "http://shahbaz/website/products/imgs/"; & Request("img")
  Dim Http
  Set Http = Server.CreateObject("Microsoft.XMLHTTP")
  Http.Open "GET", URL, False
  Http.Send
  Response.ContentType ="image/JPG"
  Response.BinaryWrite Http.ResponseBody
%>

i manually access the image on my website it works but when i call above 
script, browser throws an error saying requested file does not exist.... any 
idea? how to do this sorf of thing?

                
---------------------------------
 Start your day with Yahoo! - make it your home page 

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hpl4d5m/M=362335.6886445.7839731.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123182830/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to