NetTalk Central

Author Topic: Page caching and back button - NT5  (Read 3763 times)

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Page caching and back button - NT5
« on: May 22, 2012, 10:28:20 AM »
Hi,

is there a way to bypass the reload message in IE which shows up when the you hit back button because of the fact that page generated by nettalk is by default using NO-CACHE in the page header? What I want is to allow the user to see the some cached pages when clicking on the back button instead of reloading.

Thanks,
Alex

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Page caching and back button - NT5
« Reply #1 on: May 22, 2012, 11:05:46 PM »
Hi Alex,

caching depends enormously on where you are, and what you're going back to.
So could you post an example of the sort of case you have in mind here please?
It will help to follow along, and then be able to answer specifically based on your context.

cheers
Bruce

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: Page caching and back button - NT5
« Reply #2 on: May 23, 2012, 06:52:21 AM »
Hi Bruce,

thanks for your answer. Let me explain the situation. I have a simple main NetWebForm procedure which contains filter fields and search button I use for filtering of the NetWebBrowse which is included as a control on the same form. This form also contain button which calls another simple form I use to define print options and call PDF report. What my customer wants is the following - when they are on the print options form they called from the main form and hit back button they would like cached copy of the page to be displayed instead of getting the message that the page has to be reloaded.

That is all. I hope this can be useful so you can give me some advice how to handle it.

Thanks,
Alex

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Page caching and back button - NT5
« Reply #3 on: May 23, 2012, 07:19:34 AM »
I think a small example would be useful Alex.

cheers
Bruce

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: Page caching and back button - NT5
« Reply #4 on: May 23, 2012, 09:58:44 AM »
Bruce,

I will try to pull it out. Since I'm using Oracle DB as back end in this case.

I will post some kind of example here next few days.

Thanks again,
Alex