Link to home
Start Free TrialLog in
Avatar of rabbitears
rabbitears

asked on

java iis4 and a whole bunch of other crap..

this is REALLY important to me, so here's the lowdown:

i have a webcam page (banus.com/stream)
my pics WERE being housed on the banus server which is a virtual server 600 miles away running iis4..
problem was, when i have the pics on banus, the server caches the files and will sometimes cause the pics not to reload correctly.. (turning the cache feature off on iis4 is not an option since there are several other people on that particular nt machine)..
so my first simple solution was to get a free account at geocities and store the pics there.. this works fine for the non-java version of my webcam which uses a small count downdown javascript to refresh the page at whatever interval.. for the java version i have run into a problem: java's super tight security.. it simply won't let me work with two different machines!! atleast thats all i can tell at this point..

if i put the java class on banus, and the pics on banus, the pics show up, but like i said, they won't refresh right..

if i put the java class on banus, but the pics on geocities, the pics don't show up at all..

and they still don't work if i try to access the java class AND the pics on the geocities server..

can someone possibly think of a solution to this?
ASKER CERTIFIED SOLUTION
Avatar of alweiner
alweiner

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sybe
sybe

Some ideas:

1.
Get the pictures with a time dependent querystring:

timevariable = now
image.gif?timevariable



2. use ASP (runs default on IIS4) to send the images:
<%
Response.ContentType = "image/gif"
%>
<!--#INCLUDE FILE="image.gif"-->

The name of the image is then "image.asp" (or whatever you will name the asp-file).