I am developing a forums for asp.net, in doing this I am using code behind to do all validation on users and roles and then using embedded ASP to do the displaying for categories, sections and threads!
The problem I am having is, when you first navigate to the site you pass the forum name in a querystring. So foe example: forumid=testforum
I do this because the site will host multiple forums and this will allow me to use one DB to host multiple forums.
Anyway, it works fine the first time you visit the site but if you navigate away from the page, staying on the site, so you visit another page of the site, then come back to the page by clicking the link to the forums my page does not pick up the querystring.
The url shows it being displayed but in the code, both behind and ASP side show that that
Expand|Select|Wrap|Line Numbers
- Dim forum_name as string = request.querystring(“ForumID”)
Expand|Select|Wrap|Line Numbers
- request.querystring(“forumID”) = “”
This also happens if I hit Refresh on the page.
Please note that links are found in a master page(may be the problem)
Anyone have any ideas please let me know.