Solved

Firefox tab saving disabled in ASP.NET

Posted on 2011-03-14
12
656 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

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

Expert Comment

by:ToAoM
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:llj45
Comment Utility
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:
ToAoM earned 500 total points
Comment Utility
Not that I know of.
0
 
LVL 17

Expert Comment

by:ToAoM
Comment Utility
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:ToAoM
Comment Utility
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
Comment Utility
none
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now