Hi,
 
I 've thousands of secure images i dont want those images be cached in client's 
brower, 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 workd 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=12hh4urf0/M=362329.6886308.7839368.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123182822/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</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