Learn More





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 ...Querystring EncryptionQuerystring Encryption
New Post
10/31/2007 4:21 AM


I have written an HttpModule, which is registering to the BeginRequest event, and encrypting/decrypting the querystring in ASP.Net 2.0. Now I am using DNN, and I want to do the same in here. But when I look at web.Config, I can see many other HttpModules registred. One of them is UrlRewriter. My own HttpModule is not working in DNN, and I don't know why. I guess, it is not working, because of the registred modules in DNN, maybe because of UrlRewriter.

So my question is, how can I encrypt querystring in DNN? Can I use the same technique like in ASP? Or have I to extend any DNN classes? And please don't tell me that I can apply logic without using querystrings. I have to do it with querystrings. I just want to know, how to encrypt/decrypt querystring in DNN. BTW, I disabled FriendlyURLs, so I am able to get the querystring like I need.

Thanks for help...

New Post
10/31/2007 6:20 AM

I'd say the URLRewriter would be the first suspect indeed to see why things are not working right. I think you will need to step through your own httpmodule and see what's happening and why it isn't working. Besides turning Friendly URL's on and off, you could also try to move your httpmodule from to to bottom (and somewhere in between) in the list of HTTPModules in web.config.

Web applications, DNN websites, modules, skins and support
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Querystring EncryptionQuerystring Encryption

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?