mIRC Home    About    Download    Register    News    Help

Print Thread
mIRC cache for socket data? #1043 11/12/02 12:39 AM
Joined: Dec 2002
Posts: 4
R
Richard Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Dec 2002
Posts: 4
When i request a .txt file from a server the value in it is stored somewhere, because if i change the data on the webserver and re-request it via a socket it still returns the old data value. Does mirc cache this or something? How can I get around this?

Re: mIRC cache for socket data? #1044 11/12/02 01:28 AM
Joined: Dec 2002
Posts: 103
Pasmal Offline
Vogon poet
Offline
Vogon poet
Joined: Dec 2002
Posts: 103
mIRC doesn't cache it, however many other things could... such as your ISP or even the webhost itself.

Try adding a 'dummie' parameter at the end of the URL...

GET /blah/file.txt?ticks= $+ $ticks HTTP/1.0

That way the webserver can't serve a cached copy.

Re: mIRC cache for socket data? #1045 11/12/02 03:58 AM
Joined: Dec 2002
Posts: 12
S
Sartan Offline
Pikka bird
Offline
Pikka bird
S
Joined: Dec 2002
Posts: 12
that wouldnt work due to time-sync and different hosts. frown This same problem happened to me -- check your variables, are you clearing them?

Re: mIRC cache for socket data? #1046 11/12/02 04:25 AM
Joined: Dec 2002
Posts: 103
Pasmal Offline
Vogon poet
Offline
Vogon poet
Joined: Dec 2002
Posts: 103
What wouldn't work? My idea? It works good and true.

Re: mIRC cache for socket data? #1047 11/12/02 08:02 PM
Joined: Dec 2002
Posts: 339
F
FunChatter Offline
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 339
Dosn't work? check out again... should work!

Re: mIRC cache for socket data? #1048 15/12/02 08:03 PM
Joined: Dec 2002
Posts: 4
R
Richard Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Dec 2002
Posts: 4
Hmm, sounds good, thanks!