Hi all,
I'm having this strange problem where, in a web app, I have 2 different
links to a different form. One is just a straight forward link the other is
a bit more complicated because it gets there from a user control I wrote to
display a menu. However both call the page in the same way using
window.open('page.aspx','_top');
The problem is that:.... The page it calls, in the page load, checks to see
if a session variable is null, if it is it shows a error message and sends
the user back. This works fine the first time you click it exactly how it
should work. however if you click the link in the menu when the var is null
I get sent back then if I click the same link when the var is not null I
still get the error message and get sent back!! however if I click the
straight forward link the page loads. Even after I have the page I can go
back manually click the link in the menu and still get the same error. When
trying to debug it doesn't when clicking the menu option which makes me
believe it has something to do with caching. Although I have;
<META http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT"> which I
believe should make it expire straight away so therefore always reload
itself.
Hope somebody can help me out? Let me know if you need more info
Regards
Gavin