I have a page with a custom module on it. when I call the page, I pass a parameter in the querystring, e.g. http://www.mysite.com/myportal/Groups/tabid/213/Default.aspx?ID=123 . then in my page, I say:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load, Me.LoadTry
Response.Expires = -1
Dim ID As Integer
If Not Request.QueryString("id") Is Nothing ThenID =Request.QueryString("ID")
ID =
CInt(ID)Else
ID = 1
End If
...
then use the ID as a sql query parameter.
I don't seem to get the value every time. Both when I first call the page, but especially when I click on a link on the page that links back to itself with
http://www.mysite.com/myportal/Groups/tabid/213/Default.aspx?ID=456
It seems to be cached somewhere or something, even tho the URL changes in the browser. If I haven't visited the page for a while, I seem to get a new copy, but if I click on it right after it shows up, or click away to another page and comeback, I get the same version of the page (with the first parameter), again, EVEN THO THE PARAMETER IS DIFFERENT.
Can someone provide some insight?
Thanks!