Stop web page caching in mozilla using jsp

Hi,
Is there any way to stop the web page caching in mozilla by using jsp code?
When the user presses the logout button i do not want them to be able to press the back button.
Thanks.

Expire your pages (set proper headers and cache controls that apply to both browser and proxy servers) and code it so that every page with data you don't want displayed doesn't display unless someone is logged in.
Note that there is never a 100% guarantee that the browser won't cache the pages. It's really up to the user agent (and any proxies, if applicable) to agree to follow the no-cache REQUEST.
For this reason, any database interactions (that is, inserts and updates) should always check for a valid session before executing.
Using POST to submit requests to pages that do database interaction is also helpful, so when they hit the back button, they'll see that warning about the page being generated from POST data.
If the data is horribly sensitive (financials, etc that you don't want left open on a screen), don't give them a chance to use the back button. Open the application itself in a brand new window (a login page will open the new window), do all interaction in that window, and logging out closes the child window (and thus loses all history).
Since this may irritate the holy heck out of the casual user (or just plain not work with popup blockers) it is not recommended to be used casually.
Keep this reserved for very sensitive applications, not just the average web site / application or because you don't feel like coding proper safeguards.
HTH

Similar Messages

  • Printing a web  page from the browser using JSP

    Hi sir,
    I want to know how to print a webpage that contains some
    report data where the web page contains a button as well when i click the button only the webpage contents(report data) should be send to the printer and should be printed.Here i should not use any javascript.By using pure java code in Jsp i need to do this.Pls.provide the code for this so that i will be grateful to u.Where it is very Urgent.I will be waiting for ur reply.
    Thanx,
    m.ananthu

    If you are reasonable sure that the user will be using a newer browser you could use the <LINK> tag to set an alternative print page. When the user clicks on the print button it calls a javascript funtion that does a window.print function call. The browser will then request the alternative print page and print this page instead of what is in teh browser.
    This will require two JSP pages but with proper use of includes you can reuse the code.
    Sorry I don't have any examples handy so you'll have to search the web but I know it works because I've done it for an intranet site.

  • Printing web page to pdf file using Acrobat Standard 9

    When I print a web page to a pdf file, the text in the file is mostly garbled.  I have no problems in creating pdf files from MS office or other software.  I have Windows 7 Home.
    Any help will be appreciated.
    Thanks

    I do have Internet Explorer 9 and I was able to print web pages correctly following  your suggestions.
    Thanks for your help.
    Date: Sat, 12 Nov 2011 06:53:59 -0700
    From: [email protected]
    To: [email protected]
    Subject: Printing web page to pdf file using Acrobat Standard 9
        Re: Printing web page to pdf file using Acrobat Standard 9
        created by Bill@VT in Acrobat Windows - View the full discussion
    There were problems with IE9 on it's initial release and that may be what you are seeing if that is the browser (you did not indicate the browser and that may be a key). If you have a different browser you might try that one with the same pages to see if it browser related.
    By saying garbled it sounds like the fonts did not make it or you have selected "Use Local Fonts" in Acrobat. Try checking the latter first. Then check if the fonts are embedded in the PDF by checking the document properties (ctrl-D). If they are not, go back to the browser and select the press or print job options before printing and see if they get embedded and if your problem is resolved.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4021509#4021509
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4021509#4021509. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Acrobat Windows by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Web pages are black when using Safari 4.0.3 on Windows 7

    Web pages are black when using Safari 4.0.3 on Windows 7. It does not matter what page I try to view, all page are black. Sometime I can see pictures and white text box.
    Screen capture:
    http://users.jyu.fi/~ksalone/virhe/Safari403_Problem_onWin7.PNG

    Hi and welcome....
    Try deleting the temporary internet files (cache)
    How to Delete the Contents of the Temporary Internet Files Folder
    Carolyn

  • What is an easy web-page creation program for use with MacBook Pro?

    Can anyone suggest an easy web-page creation program for use with MacBook Pro?  I have used FrontPage with my PC, but am changing to a MacBook Pro.

    It largely depends on your skill level. Do you want to write web page code, or do you want to just design something and have it turn into a web page automatically?
    If you are more of a designer, try these:
    RapidWeaver
    Freeway Pro
    Muse
    If you want to write web page code, try these:
    Coda
    BBEdit
    Dreamweaver
    If you really don't want to write the code and want the best experience for your viewers, and you want to spend the least amount of time on it, my recommendation is:
    No program at all.
    Instead, sign up with a web site company like:
    WordPress.com (hosted by them) or WordPress.org (hosted on your server)
    Squarespace
    Wix
    The reason is that these companies have fully operational, nicely designed web site templates that you just fill in with your words and pictures, and they are ready to go. They also give you these benefits:
    Already designed to the latest web standards
    Already designed to resist hackers
    Already designed to work on all browsers
    Already designed to automatically adjust the page for readability on desktop, laptop, tablet, and smartphone screen sizes
    Already designed for accessibility
    Already designed for Search Engine Optimization so that your page will be found on Google
    Already designed with social media links built in if you want
    It is not like the old days where you build a site in Front Page and you assume it will only be seen on a desktop computer. If you build it yourself with a web page program, do you have the knowledge to make a site that works on all of the different web browsers and mobile devices, and is friendly to search engines and social media? If you don't have those skills, working with a website company can be a lot better, faster, and more reliable than trying to hammer all of that out yourself using code in some app.

  • Web pages switch to mobile using Safari 6 on mtn lion

    Several web pages switch to m. Mobile web page which makes the web page a mess to use.

    Audi has addressed this issue and it no longer happens.

  • Create web pages from xml files using Servets or JSP

    I�m new in this tecnology and I have to create a web pages from information that I get from a XML files. I would like to know if there is a place where I can find examples of code or any book that could help me.

    Two places with loads of information on this:
    http://xml.apache.org
    Look at Xalan or Cocoon.
    Also, there was an article on http://www.javaworld.com on XML with JSP.

  • How do I ignore colours specified on web pages so I can use a screen tinter program?

    I have problems with my eyesight and have started using Screen Tinter software to change the colour of background to something more comfortable. I have been told that you can do the same on web pages by going to tools/internet options/accessibility/ignore colours specified on internet pages, but I think this may only work with Explorer (and I'm a Firefox fan). Any ideas how to make it work?

    You can use the NoSquint extension in Firefox to set specific text and background colors.
    * NoSquint - https://addons.mozilla.org/firefox/addon/2592

  • I can no longer get firefox to print a web page. I am using the print command in the drop down 'file' menu

    Can no longer print a web page. I use the drop down "fie" menu and the "print" command
    the HP4180 series appears to recognize the command but delivers only a blank page

    See if the solutions given in this artcile help: [http://kb.mozillazine.org/Problems_printing_web_pages Problems printing web pages]. <BR>Pay special attention to sections '''Prints to a small portion of the page''' and '''Does not print entire page content'''.

  • Web pages posted to .Mac using iWeb do not render correctly on IE

    Okay, let's face it - most people out there use Internet Explorer (IE) to view web pages. I just published my web page using iWeb onto my iMac account. The web site renders correctly on my Mac, but does not render correctly on my PC using IE at work. Several other people using IE saw similar problems. For example, IE does not show the links until you run your mouse over them. Also, the text renders as an image (you cannot select text individualy). What do I do to ensure that all the world views the site correctly? Thanks.

    Welcome to the discussions, stoma.
    You'll have to essentially dumb your site down to IE level. Get rid of the cool effects, the transparencies, the rotated images, basically everything that makes iWeb so impressive to use. Make a nice plain site with no frills and you're 90% of the way to near 100% IE compatibility.
    Take all of your images and edit them outside of iWeb (like with other web applications) and that's another significant chunk. There will be a few bits left over, but some of those will be things you can't do anything about (like some of the page elements being created as .png's). You'll be as close to IE compatible as you can get with iWeb.
    Post your URL to let other users post as to what your SPECIFIC site would need.

  • Some web pages causing 100% CPU use of iexplore.exe since Flash update

    I'm having a problem with certain Amazon.com pages hanging my
    Internet Explorer 6 using Flash Player 10,0,12,36, causing 100% CPU
    use for iexplore.exe and requiring me to End Task to quit. All the
    pages effected have an interactive mouseover Size and Color chart
    that intially says "Loading" but then says "Select Size and Color"
    once loaded. One mouseovers the various color patches and size
    options, each time giving item availability in that option. When
    the pages hang the IE browser with 100% CPU use that chart never
    gets to the "Select Size and Color" point, instead stuck at the
    "Loading" status. This happens most times, but not every time.
    Sometimes the pages load correctly, after a brief lag as it loads
    the chart.
    Amazon pages without this chart load fine.
    The start of this problem coincides with updating Flash.
    I can prevent the problem from happening almost every time if
    I can quickly get my cursor into that chart area while the page
    begins loading. If I allow the pages to load fully with no
    interaction they will hang almost every time.
    I have not noticed any problems on those same web pages using
    Firefox using Flash Player 9,0,124,0
    I also have not noticed any issues with other sites using
    Internet Explorer either. (YouTube, QVC, CNN...etc, all OK.)
    I had posted for assistance on the Experts Exchange site and
    there was some debate on whether the chart was a Java or
    Flash-based chart, so initially it was being approached as a
    possible Java issue, so I removed all Java versions on the system
    and installed various versions, but the same problem persists.
    I've downloaded but not run the Flash Uninstaller, as I'm
    reluctant to uninstall the Firefox Flash version without knowing
    for sure I could install 9,0,124,0 again.
    I've downloaded an archived fp9_archive.zip, which seems to
    indicate the contained files flashplayer9r124_winax.exe (Internet
    Explorer) and flashplayer9r124_win.exe (Netscape) would be versions
    9,0,124,0 to install after running the uninstaller.
    Can anyone check a few of the links below and see if the
    "Select Size and Color" chart is Flash based? If so, would
    executing the files listed above install 9,0,124,0 into my
    respective browsers again?
    http://www.amazon.com/FCS-Regular-7mm-Surf-Leash/dp/B00149XJ68
    http://www.amazon.com/Womens-Classic-Short-UGG-Boots/dp/B00064NH8W/ref=pd_ecc_rvi_cart_3
    http://www.amazon.com/Columbia-Sportswear-Womens-Benton-Springs/dp/B0006M6IQ2/ref=pd_ecc_r vi_cart_2
    http://www.amazon.com/Ladies-Chenille-Zip-Cardigan-Sweater/dp/B001E0YJ0C/ref=pd_ecc_rvi_ca rt_4
    XP IE 6 (error module : MSHTML.DLL)
    Flash Player version 10,0,12,36
    Firefox
    Flash Player version 9,0,124,0
    Thank you-
    Vickie

    I'm attempting to troubleshoot an issue with Amazon web pages
    since I've updated my Flash player. I would appreciate if someone
    could take a look at my initial post and advise if the issue seems
    to be Flash related.
    Thank you.
    I'm having a problem with certain Amazon.com pages hanging my
    Internet Explorer 6 using Flash Player 10,0,12,36, causing 100% CPU
    use for iexplore.exe and requiring me to End Task to quit. All the
    pages effected have an interactive mouseover Size and Color chart
    that intially says "Loading" but then says "Select Size and Color"
    once loaded. One mouseovers the various color patches and size
    options, each time giving item availability in that option. When
    the pages hang the IE browser with 100% CPU use that chart never
    gets to the "Select Size and Color" point, instead stuck at the
    "Loading" status. This happens most times, but not every time.
    Sometimes the pages load correctly, after a brief lag as it loads
    the chart.
    Amazon pages without this chart load fine.
    The start of this problem coincides with updating Flash.
    I can prevent the problem from happening almost every time if
    I can quickly get my cursor into that chart area while the page
    begins loading. If I allow the pages to load fully with no
    interaction they will hang almost every time.
    I have not noticed any problems on those same web pages using
    Firefox using Flash Player 9,0,124,0
    I also have not noticed any issues with other sites using
    Internet Explorer either. (YouTube, QVC, CNN...etc, all OK.)
    I had posted for assistance on the Experts Exchange site and
    there was some debate on whether the chart was a Java or
    Flash-based chart, so initially it was being approached as a
    possible Java issue, so I removed all Java versions on the system
    and installed various versions, but the same problem persists.
    I've downloaded but not run the Flash Uninstaller, as I'm
    reluctant to uninstall the Firefox Flash version without knowing
    for sure I could install 9,0,124,0 again.
    I've downloaded an archived fp9_archive.zip, which seems to
    indicate the contained files flashplayer9r124_winax.exe (Internet
    Explorer) and flashplayer9r124_win.exe (Netscape) would be versions
    9,0,124,0 to install after running the uninstaller.
    Can anyone check a few of the links below and see if the
    "Select Size and Color" chart is Flash based? If so, would
    executing the files listed above install 9,0,124,0 into my
    respective browsers again?
    http://www.amazon.com/FCS-Regular-7mm-Surf-Leash/dp/B00149XJ68
    http://www.amazon.com/Womens-Classic-Short-UGG-Boots/dp/B00064NH8W/ref=pd_ecc_rvi_cart_3
    http://www.amazon.com/Columbia-Sportswear-Womens-Benton-Springs/dp/B0006M6IQ2/ref=pd_ecc_r vi_cart_2
    http://www.amazon.com/Ladies-Chenille-Zip-Cardigan-Sweater/dp/B001E0YJ0C/ref=pd_ecc_rvi_ca rt_4
    XP IE 6 (error module : MSHTML.DLL)
    Flash Player version 10,0,12,36
    Firefox
    Flash Player version 9,0,124,0

  • Archive Web Page for Off Line Use

    Hi all,
    I'm currently enrolled in an online music program where I have to review/study web pages for my course instruction. These pages contain standard HTML text, graphics, mp3s, multiple flash applications and quite often embedded quick time movies. To date to back these pages up I have physically printed each page and then discretely downloaded and saved all mp3s, flashes, and quick time movies. However, as I'm sure you can guess, this leads to a very disjointed "archive" of paper product, separate quick time movies, and flash applications. So here's the question:
    Is anyone aware of an archive utility that will save a web page like above in it's entirety onto my mac for off line use? I have seen a few web archive tools like I'm looking for, but all appear to be for Windows or older versions of mac OS. So any direction would be much appreciated.
    Thanks,
    Rick.

    Hi
    Welcome to Apple Discussions
    Give this utility a try. The way this works. After you install the app. in your Applications folder, open it. A panel appears.
    Then go back to Safari. Open the web page you want to archive. File>Save As. When the panel opens make sure the drop down menu is set to "Web Archive". Then go to the location where you saved that page. Move the web archive file onto the Utility's panel. This will create a folder with the various web components for that web site.
    Also, either update your tag to your current version of OS X Leopard, or if 10.5.2 is correct, consider upgrading to 10.5.5 via Software Update.
    Message was edited by: Hawaiian_Starman

  • How to view web page in emulator/device using j2me

    hi
    i wanna view web page using j2me
    i am using code ----instead of getting teh page i am getting source code of the page and i am not getting any thing in real device so do i need a browser??cant i view this page inside my application??
    HttpConnection connection = null;
         InputStream inputstream = null;
         try
              this.platformRequest("http://www.lntinfotech.com");
              /* System.out.println("aaaaaaaaaaa11");
         connection = (HttpConnection) Connector.open("http://www.lntinfotech.com");
         System.out.println("aaaaaaaaaaa112");
         //HTTP Request
         connection.setRequestMethod(HttpConnection.GET);
         System.out.println("aaaaaaaaaaa113");
         connection.setRequestProperty("Content-Type","//text plain");
         System.out.println("aaaaaaaaaaa1133");
         connection.setRequestProperty("Connection", "close");
         System.out.println("aaaaaaaaaaa11444");
         // HTTP Response
         System.out.println("Status Line Code: " + connection.getResponseCode());
         System.out.println("Status Line Message: " + connection.getResponseMessage());
         if (connection.getResponseCode() == HttpConnection.HTTP_OK)
              this.platformRequest("http://www.google.com");
              System.out.println("aaaaaaaaaaa11444555");
         System.out.println(
         connection.getHeaderField(0)+ " " + connection.getHeaderFieldKey(0));
         System.out.println(
         "Header Field Date: " + connection.getHeaderField("date"));
         String str;
         inputstream = connection.openInputStream();
         int length = (int) connection.getLength();
         if (length != -1)
         byte incomingData[] = new byte[length];
         inputstream.read(incomingData);
         System.out.println("aaaaaaaaaaa1144555");
         str = new String(incomingData);
         else
         ByteArrayOutputStream bytestream =
         new ByteArrayOutputStream();
         int ch;
         while ((ch = inputstream.read()) != -1)
         bytestream.write(ch);
         str = new String(bytestream.toByteArray());
         bytestream.close();
         System.out.println(str);
         }

    instead of getting teh page i am getting source code of the page and i am not getting any thing in real device so do i need a browser??Yes.
    cant i view this page inside my application??Not unless you can write a browser component to parse and display the HTML. (you can't, it's too big a job)
    db

  • EA4500 router web page not accessible for use.

    I cannot login, web page pops up but its only a blue screen with help icon and privacy icon at bottom nothing is interactive. Have tried mylocalrouter.com, linksyssmartwifi.com. When uninstall software, hard reset router then reinstall software I get to the the login icon but when try to login it shows blue screen as previously mentioned in message. Router works but at a reduce speed and cannot manage any options. Tried updating firmware but once I unzip there is no way to install the .ssa firmware file

    Hi mtebaldi, have you tried using another browser and computer? If you're using a wireless computer, you may also try to turn the wireless computer WiFi switch to off then connect it directly to the router using an Ethernet cable. Once done, reaccess UI again. You may also try to access UI using "myrouter.local". 

  • Edit web page with iweb but using a different computer than it was made on?

    in short... i made a web page using iweb 09' on my desktop... it is with a domain name that is with godaddy.com... i have it all working... forwarding to my web page etc.... but... how do i edit my web page using my laptop and iweb.... i can't seem to import or load the page into iweb on my laptop? it was created on my desktop and i can modify and change things on it but not my laptop... what am i doing wrong?
    thanks in advance...
    josh

    Will you be working on the site with both computers over time? If so Old Toad's Tutorial #21 - Managing an iWeb site from multiple Macs with Dropbox. can show you a way to make it easy to keep the domain file current on both Macs.
    OT

Maybe you are looking for

  • Problem in JDBC-SQL Server connection string

    Anyone could help me to write proper connection string using JDBC with SQL Server 2000. The descp: Server name: CD databaseName: songs Using Window NT authentication. I dont know whether to include username and password. When I executed the statement

  • Strange issue when running sql with false condition

    Hi, I'm running this query from the application: select 22 from DUAL where ( to_number(0) <> 0 ) and exists ( select 'X' from TABULA.macdent$FNCITEMS where ( macdent$FNCITEMS.QIV = to_number(0) ) ); And it takes a long time because it is checking the

  • I hard re-set my airport extreme, and now it won't come back. Keeps flashing amber for ever!!! help

    I forgot my network password, so I attempted to hard set my aiport extreme. Now I can not get it to come back to green. Won't stop flashing amber. Have tried to re-set and un-plug several times to see if I can bring it back and no luck. Anybody have

  • E_ACT_TOO_MANY_ACTIVATIONS  What can I do?

    I am using mac osx 10.5.8. I need new authorisations. Please help me, because i cannot use my new ebook-reader! E_ACT_TOO_MANY_ACTIVATIONS http://adeactivate.adobe.com/adept/Activate 10000:993:10000 urn:uuid:bba7e8ef-5b0c-47bd-b1bd-7286477b434f

  • How to Audit the Report which is Export to Excel and PDF

    Hi All, Is there any way that we can audit the report which is exported to Excel or PDF and what data the user is exporting to his local computer. We can audit the scheduled report with output Excel or pdf but i am not sure about the audit for report