WRITE SQL DATA TO LOCAL MACHINE
am 30.03.2007 10:32:09 von Simon Gare
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
Re: WRITE SQL DATA TO LOCAL MACHINE
am 30.03.2007 14:00:04 von reb01501
Simon Gare wrote:
> 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.
--
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"
Re: WRITE SQL DATA TO LOCAL MACHINE
am 31.03.2007 03:05:41 von Sylvain Lafontaine
http://codinginparadise.org/weblog/2005/08/ajax-internet-exp lorer-has-native.html
--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)
"Simon Gare" wrote in message
news:OjvTNZqcHHA.4624@TK2MSFTNGP03.phx.gbl...
> 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
>
>