all groups > inetserver asp db > march 2007 >
You're in the

inetserver asp db

group:

WRITE SQL DATA TO LOCAL MACHINE


WRITE SQL DATA TO LOCAL MACHINE Simon Gare
3/30/2007 12:00:00 AM
inetserver asp db:
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 Bob Barrows [MVP]
3/30/2007 8:00:04 AM
[quoted text, click to view]
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 Sylvain Lafontaine
3/30/2007 9:05:41 PM
http://codinginparadise.org/weblog/2005/08/ajax-internet-explorer-has-native.html

--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)


[quoted text, click to view]

AddThis Social Bookmark Button