Hi all,
have an SQL DB which clients access via asp pages through the internet, in
the case of a power outage I need to write that data automatically in the
background to a txt file on their local machine, I would imagine it would
involve a script of some kind.
Can anyone help?
Regards
Simon Gare
The Gare Group Limited
website: www.thegaregroup.co.uk
website: www.privatehiresolutions.co.uk
Bob Barrows [MVP] - 30 Mar 2007 13:00 GMT
> Hi all,
>
> have an SQL DB which clients access via asp pages through the
> internet, in the case of a power outage I need to write that data
> automatically in the background to a txt file on their local machine,
> I would imagine it would involve a script of some kind.
1. It's going to involve client-side script so you will need to go to a
client-side scripting newsgroup like microsoft.public.scripting.jscript
2. Browser security is deliberately configured to prevent the exactly the
type of thing you are intending to do (think of the havoc hackers and
spammers could wreak if they were able to willy-nilly drop data/files/etc.
on a client's machine in the background with no invovement of the user).
Most likely you will be advised to use an HTA (hypertext application) which
requires a user's permission to run. An hta is simply and html page with
special tags, saved with an extension of .hta.

Signature
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Sylvain Lafontaine - 31 Mar 2007 02:05 GMT
http://codinginparadise.org/weblog/2005/08/ajax-internet-explorer-has-native.html

Signature
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)
> Hi all,
>
[quoted text clipped - 11 lines]
> website: www.thegaregroup.co.uk
> website: www.privatehiresolutions.co.uk