Hi All,
I am using the ICM cache content code by attaching a URL to display the image.Every thing worked out for me ; i am able to get the image. But now i want to load another image in that place ( I am using a radiobutton control on view to dispaly images accordingly). Though i attach a new urllink (lv_urllink) at the time of call; i am getting old image only.
method onactionbutton
CASE l_ind.
when 1.
lv_urllink = 'http:.... /1.JPG'.
when 2.
lv_urllink = 'http:.... /2.JPG'.
when 3.
lv_urllink = 'http:.... /3.JPG'.
ENDCASE.
Create the client object
CALL METHOD cl_http_client=>create_by_url
EXPORTING
url = lv_urllink
IMPORTING
client = g_client
EXCEPTIONS
argument_not_found = 1
internal_error = 2
plugin_not_active = 3
OTHERS = 4.
do i need to refresh/expiry the cache? How to do this one.
I have tried by setting the low value of sec for the below call
cached_response->server_cache_expire_rel( expires_rel = 5 ).
but didnt get any luck.
Let me know whether i have missed anything.
Thanks and Regards,
Satish A.