Solved

Firefox tab saving disabled in ASP.NET

Posted on 2011-03-14
12
659 Views
Last Modified: 2013-12-07
For a given asp.net web page written in VB.NET, how can the "Do you want Firefox to save your tabs for the next time it starts?" dialog box be disabled in the page's code?  Could this event possibly occur using Javascript? Firefox close tab dialog box
0
Comment
Question by:llj45
  • 4
  • 4
  • 2
12 Comments
 
LVL 16

Expert Comment

by:Kamal Khaleefa
ID: 35136892
this dialog box can be disabled from the options of firefox
if you want to disable this box by code
then mabye you have to change some value in registery
so try to find what is the value then create a code to change registry value
0
 

Author Comment

by:llj45
ID: 35139955
Hi, king2002
  I found this article:
http://teck.in/firefox-save-tabs-on-exit.html .

  Probably, you understand Firefox better than me.  Does the information in this article help to answer my question?
  Using your suggestion, where in the registry would I find this setting for Firefox?  i don't see many settings in the registry for Firefox.
Thanks, LLJ45
0
 
LVL 16

Expert Comment

by:Kamal Khaleefa
ID: 35142395
this article shows how to change values manually in the browser
in address bar type about:config
and u will see all the values

 
0
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

Author Comment

by:llj45
ID: 35149287
Using the previous suggestion, where in the registry would I find this setting for Firefox?
0
 
LVL 17

Expert Comment

by:Jesse Houwing
ID: 35150131
You can't disable this from the server or from ASP.NET.

You can disable this in the browser itself, but you will have to do this for every client visiting your site.
0
 

Author Comment

by:llj45
ID: 35161917
Hi, ToAoM
  Could this Firefox capability be disabled using Javascript as I mentioned in the original question on either the aspx page or the code behind file?  I know that it may not be considered a good practice.  However, it is a necessity.  I am not concerned about "good practice".
Thanks, LLJ45
0
 
LVL 17

Accepted Solution

by:
Jesse Houwing earned 500 total points
ID: 35164980
Not that I know of.
0
 
LVL 17

Expert Comment

by:Jesse Houwing
ID: 35181220
I went through the API docs and the feature docs on the Mozilla website, and a feature to suppress session restore for a specific site isn't mentioned anywhere.
https://wiki.mozilla.org/Session_Restore

I suggest you file a bug or feature request in BugZilla to file your concern:
http://bugzilla.mozilla.org/
0
 
LVL 17

Expert Comment

by:Jesse Houwing
ID: 35216080
The fact that it can't be done using Javascript, doesn't mean we didn't help you come to that conclusion.
0
 

Author Closing Comment

by:llj45
ID: 35216354
none
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JavaScript to set default value on SharePoint form field 7 20
HTML Anchor Link Problem 3 38
Internet options/Settings 1 47
Autocomplete with Jquery Question 2 21
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question