C
Csaba Gabor
I'd like to be able to force a local disk write with javascript (so
that another instance of the browser detects it).
I'm in an linux environment with a common file system and about 50
workstations. Latest and greatest of many browsers (eg. Chromium, FF,
Opera). I'd like to be able to log into two workstations under the
same id, run the same (or even different) browsers on the same .htm
file I'd be writing such that when one of the browser instances writes
some data (to the disk) the other one is able to pick it up.
Near as I can tell, most of the browsers I've tested with have a lock
file so that I can't actually execute two instances from distinct
workstations at the same time. But even if that were not the case,
the obvious candidate, cookies, are cached in the browser and not
written to disk till browser exit. The other obvious candidate,
localStorage, seems to behave similarly, though I've not tested it so
extensively.
Does anyone see a way to accomplish this? There is no server involved
at this point (I know how to do this given a server), the .htm files
are local on the desktop. Also, is there a way to avoid the lock
restriction the browsers complain of under my scenario?
Thanks,
Csaba Gabor from Vienna
that another instance of the browser detects it).
I'm in an linux environment with a common file system and about 50
workstations. Latest and greatest of many browsers (eg. Chromium, FF,
Opera). I'd like to be able to log into two workstations under the
same id, run the same (or even different) browsers on the same .htm
file I'd be writing such that when one of the browser instances writes
some data (to the disk) the other one is able to pick it up.
Near as I can tell, most of the browsers I've tested with have a lock
file so that I can't actually execute two instances from distinct
workstations at the same time. But even if that were not the case,
the obvious candidate, cookies, are cached in the browser and not
written to disk till browser exit. The other obvious candidate,
localStorage, seems to behave similarly, though I've not tested it so
extensively.
Does anyone see a way to accomplish this? There is no server involved
at this point (I know how to do this given a server), the .htm files
are local on the desktop. Also, is there a way to avoid the lock
restriction the browsers complain of under my scenario?
Thanks,
Csaba Gabor from Vienna