Results 1 to 6 of 6

Thread: help me..!

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    10

    Exclamation 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
    -Sasidhar

  2. #2
    Lively Member
    Join Date
    Mar 2001
    Location
    Sweden
    Posts
    115
    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    10
    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
    -Sasidhar

  4. #4
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    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.

  5. #5
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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.

  6. #6
    Hyperactive Member Radames's Avatar
    Join Date
    Feb 2001
    Location
    Tech Tropics
    Posts
    360
    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
  •  



Click Here to Expand Forum to Full Width