I donít want my pages to be shown in the history at all.
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: I donít want my pages to be shown in the history at all.

  1. #1
    Join Date
    Nov 2010
    Posts
    2

    I donít want my pages to be shown in the history at all.

    Dear All,

    I am using Java 5.0 for creating a web application. There is a security related implementation to be done. I have tried all my sources but all in drain. I would appeal to all experts who have handled security aspects in java or programmers who would want to give a helping hand to come forward.

    Desired output: any page loads in an internet browser is stored for future reference in the history section, which is mostly accessible using shortcut Ctrl+H. I donít want my pages to be shown in the history at all.

    Eg:

    1. visit http://www.icicibank.com/
    a. In history it shows ďPersonal Banking | NRI Banking | Corporate and Business Banking | Rural Banking | ICICI BankĒ and a link
    2. click on login to Personal banking on the top left corner.
    a. This will redirect to http://www.icicibank.com/safe-online...e-banking.html
    b. In history it shows ďTravel Offer: ICICI Bank OnlineĒ and an image link to continue login
    3. Click on ďContinue LoginĒ Image button at the bottom mid section
    a. It redirects to https://infinity.icicibank.co.in/BAN...rate&abrdPrf=N
    4. The page opens for entering credentials for personal banking login
    a. This page is not seen in the history at all
    b. After logging in not a single page will be seen in the history
    c. This is what I have to achieve

    Please help as our assignment is pending since long, we may end up losing the project. Any guidance would be highly appreciated.


    I have tried below solutions which didnít give any success:

    Solution 1:
    1. <%
    2. session.invalidate();
    3. response.setHeader("Cache-Control","no-cache");
    4. response.setHeader("Cache-Control","no-store");
    5. response.setDateHeader("Expires", 0);
    6. response.sendRedirect("home.jsp");
    7. %>




    Solution 2:
    <%
    Response.Cache.SetExpires(DateTime.Parse(DateTime.Now.ToString()))
    Response.Cache.SetCacheability(HttpCacheability.Private)
    Response.Cache.SetNoStore()
    Response.AppendHeader("Pragma", "no-cache")
    %>



    Solution 3:
    <body onload="history.forward()">





    Solution 4:


    <%
    response.setDateHeader("Last-Modified", System.currentTimeMillis());
    %>








    Thanks,
    Jaisingh Saini

  2. #2
    Join Date
    Feb 2008
    Posts
    966

    Re: I donít want my pages to be shown in the history at all.

    The only way that I know of to load a Web page in a browser and NOT have it show up in the browser's history is to load the page inside of an iframe. If you have a page that has an iframe, you can load content in and out of it via ajax without having to reload the page, thus not creating a new browser history item.

  3. #3
    Join Date
    Nov 2010
    Posts
    2

    Re: I donít want my pages to be shown in the history at all.

    How to use iframe with ajax ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center