<font face="arial" size="2">
                                <font face="Times New Roman" size="3">> > The only real reason for this is that I do not want them to <br />> > use the back button when the system have posted information, they then get <br />> > the "page has expired" message.</font>
                                <br />
                                <br />
                                <font face="Times New Roman" size="3">> I use the following line in each of my pages -- seems to work cross-browser<br />> (IE6/Netcape/Firefox) and is exactly what the client wanted (not that I like<br />> it myself!).<br />> <br />> window.history.forward(1);</font>
                                <br />
                                <br /> Will that even work if the page hasn't loaded because of the "Expired" message?<br /><br />Peter<br /><br /><br /></font>
                <font face="Tahoma, Arial, Sans-Serif" size="2">
                                <b>From</b>: "Peter Lauri" <a href="mailto:lists@dwsasia.com">lists@dwsasia.com</a><br /></font>
                <br />Thanks mate, this works fine. However, it might not be the prettiest<br />solution :) I will use that temporary, thanks for you insight!<br /><br />-----Original Message-----<br />From: Glenn E. Lanier, II [mailto:glenn_lanier@netzero.net] <br /><br />> From: Peter Lauri<br />> Sent: Tuesday, August 29, 2006 9:54 PM<br /><br />> The only real reason for this is that I do not want them to <br />> use the back<br />> button when the system have posted information, they then get <br />> the "page has<br />> expired" message.<br /><br />> How can I avoid this then? :)<br /><br />Peter,<br /><br />I use the following line in each of my pages -- seems to work cross-browser<br />(IE6/Netcape/Firefox) and is exactly what the client wanted (not that I like<br />it myself!).<br /><br />window.history.forward(1);<br /><br />It allows the back and immediately sets the visible page to the next one in<br />history. Great thing is even if they select the drop-down next to back and<br />go back 10 pages -- you see a slight flicker (on older (like mine) machines)<br />as it flips through to the current page.<br /><br />--G