In internet explorer ---> File ---> Save As: will save the page.
Is there anyway to disable saving the page by jscript or javascript.
No, you cannot possible disable HTML or any other content that reaches the
browser from getting saved.
Even if you did tricks like open in a window without the toolbar, menubar
and context menus using window.open(...), your smarter users will still know
that all files before they get rendered get into the Temporary Internet Files
folder and can be picked from there.
You might want to do the window.open(...) with some cache expiry headers -
that will reduce the chances, but definetelly not eliminate it - a smart
user will still figure a way out.
Regards,
Pandu

Signature
blog: www.thinkingMS.com/pandurang
> In internet explorer ---> File ---> Save As: will save the page.
> Is there anyway to disable saving the page by jscript or javascript.
Bishoy George - 22 Mar 2006 12:31 GMT
Could you please write me down some of these cache expiry headers?
---- Original ----
> No, you cannot possible disable HTML or any other content that reaches the
> browser from getting saved.
[quoted text clipped - 15 lines]
>> In internet explorer ---> File ---> Save As: will save the page.
>> Is there anyway to disable saving the page by jscript or javascript.
Pandurang Nayak - 22 Mar 2006 19:50 GMT
Depends on what you are using. ASP, ASP.NET or just plain HTML.
Eventually, you have to set some headers - but if you are using ASP.NET,
just use Response.ExpiresAbsolute
Check MSDN and you'll get many articles on cache expiry.

Signature
blog: www.thinkingMS.com/pandurang
> Could you please write me down some of these cache expiry headers?
>
[quoted text clipped - 18 lines]
> >> In internet explorer ---> File ---> Save As: will save the page.
> >> Is there anyway to disable saving the page by jscript or javascript.
Bishoy George - 02 Apr 2006 13:57 GMT
I use ASP.NET 2.0 with C#
I made that:
Response.ExpiresAbsolute.AddSeconds(1);
but the url of this page is still present
-----
> Depends on what you are using. ASP, ASP.NET or just plain HTML.
>
[quoted text clipped - 29 lines]
>> >> In internet explorer ---> File ---> Save As: will save the page.
>> >> Is there anyway to disable saving the page by jscript or javascript.
Bishoy George - 03 Apr 2006 09:24 GMT
I tried also,
Page.Response.Cache.SetCacheability(HttpCacheability.NoCache);
but it doesn't work
>I use ASP.NET 2.0 with C#
> I made that:
[quoted text clipped - 40 lines]
>>> >> In internet explorer ---> File ---> Save As: will save the page.
>>> >> Is there anyway to disable saving the page by jscript or javascript.
Pandurang Nayak - 03 Apr 2006 11:30 GMT
Bishoy,
Are you trying to get the URL in the IE address bar memory removed?
Expiring cache will not help you do that.
Expiring cache means (below the hood) that there will nothing stored in the
Temporary Internet Files folder. This ensures that when the user visits the
page again, it will be reloaded from the server and not from the local
browser cache.
Removing something from the IE URL list is not something that can be
controlled by script for the simple reason that it would violate browser
privacy.
Regards,
Pandurang

Signature
blog: www.thinkingMS.com/pandurang
> I tried also,
>
[quoted text clipped - 46 lines]
> >>> >> In internet explorer ---> File ---> Save As: will save the page.
> >>> >> Is there anyway to disable saving the page by jscript or javascript.