|
-
Jun 27th, 2001, 08:29 AM
#1
Thread Starter
New Member
help me..!
Hi..I want some help from U...I have some html page and I want to save it on clienside (through client-side script) whenever loading of HTML page in client-side browser is over. I don't want to ask the user to save the file by going File-->Saveas. Is there any code for it. If U know it, can U please help me...
-sasidhar
-
Jun 27th, 2001, 08:40 AM
#2
Lively Member
Being able to save files on a users harddrive when he visits a webpage (and without the user knowing about it) would be a MAJOR securityhole (this doesn't include cookies).
The HTML-file itself IS saved on the users harddrive, in the Temporary Internet Files-folder.
-
Jun 27th, 2001, 08:51 AM
#3
Thread Starter
New Member
hai Creon,
ThanQ for U'r reply...But, here I want to execute an asp file on clientside and the result I want to save on client-side.....(like for off-line viewing..)...If there's any way...please tell me...
-sasidhar
-
Jun 27th, 2001, 09:03 AM
#4
Frenzied Member
Damn, whatever happened to the language?
Anyway... CreoN is saying, no, you can't. And he is right. You can't. It is a security hole. All you can do is generate the HTML with the ASP and save it server-side and redirect and let the user check the "Save for Offline Viewing" feature.
Then a few minutes later you can delete the page on the server.
Mmmm... now that I think about it, you can add favorites without the users permission (which is wrong and should be fixed). There is an option to set a favorite up for offline viewing, n'est-ce pas?
Look that up. Maybe when you set a favorite you can set it for offline viewing. But there shouldn't be a way to save on the client.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jun 27th, 2001, 10:08 AM
#5
Black Cat
Maybe even just preventing the page from expiring in the cache for a while might work as a quick solution.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jun 27th, 2001, 10:18 PM
#6
Hyperactive Member
Hey man this is a forum not a teenage chatroom. Use human english please.
Top Tip: You can make friends and impress the opposite sex at geeky cocktail parties by saying "DB" instead of database. - Karl Moore
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|