PanelMaker
Programmer
I am trying to make it so that the main Navigation bar for my site will not cache so that different options will appear for different user-types on my site (ex. Registered users will see "Update Account" as opposed to non-registered users who will see "Sign up")
The problem is that the page is cached in the browser so that when I try and display a different set of options even though they have logged in, it still keeps the options for the non-registered user.
here is the entry I put in my personal programming notes on the subject, this should give more background into what I have already tried:
------------------------------------------------------
These tags are supposed to work so that the page that they are placed into does not cache in the browser. They must be used in two places and in that lies the problem, they must be placed in between <HEAD> first before the <BODY> and then after the </BODY> in Lotus notes though, the HTML <HEAD> tag can only be modified in one location, the programmer's pane so we could not find a way to insert a second set of <HEAD> tags
<META HTTP-EQUIV='Pragma' CONTENT='no-cache' >
<META HTTP-EQUIV='Expires' CONTENT='-1'>
This site I went to added this line without explination saying that this is what was shared by Microsoft to be the fix
<META Http-Equiv='Cache-Control' Content='no-cache'>
These links explain the problem and supossed solution exept in our case:
This site says to make use of the &junk command at the end of the URL string so that notes generates a random string of numbers and letters to prevent caching makes since but I have yet to get the &junk to do what is supposed to do
&junk
-------------------------------------------------------
-Panelmaker
The problem is that the page is cached in the browser so that when I try and display a different set of options even though they have logged in, it still keeps the options for the non-registered user.
here is the entry I put in my personal programming notes on the subject, this should give more background into what I have already tried:
------------------------------------------------------
These tags are supposed to work so that the page that they are placed into does not cache in the browser. They must be used in two places and in that lies the problem, they must be placed in between <HEAD> first before the <BODY> and then after the </BODY> in Lotus notes though, the HTML <HEAD> tag can only be modified in one location, the programmer's pane so we could not find a way to insert a second set of <HEAD> tags
<META HTTP-EQUIV='Pragma' CONTENT='no-cache' >
<META HTTP-EQUIV='Expires' CONTENT='-1'>
This site I went to added this line without explination saying that this is what was shared by Microsoft to be the fix
<META Http-Equiv='Cache-Control' Content='no-cache'>
These links explain the problem and supossed solution exept in our case:
This site says to make use of the &junk command at the end of the URL string so that notes generates a random string of numbers and letters to prevent caching makes since but I have yet to get the &junk to do what is supposed to do
&junk
-------------------------------------------------------
-Panelmaker