Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...linking to a custom module with a querystring parameterlinking to a custom module with a querystring parameter
Previous
 
Next
New Post
8/7/2009 5:03 PM
 

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!

 

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...linking to a custom module with a querystring parameterlinking to a custom module with a querystring parameter


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out