Click here to Skip to main content
14,935,706 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a running web application that I am trying to intigrate in another group of people to use. My main goal is to have the sitemap urls append a querystring to the end of all the urls based off if they are in a group of users or not. I can already figure out if they are in that group, I just need help appending dynamically the query string.

Example: "www.page.com"
---(In group A)--> www.page.com?group=A
---(In group B)--> www.page.com?group=B


I could do it so that on pageload it checks and then response.redirects, but that would be slower making each page load twice, plus I would like them to have the ability to go to the other people site if they choice to among other reasons.

How can I make the sitemap dynamically append query strings to the sitemap? Can this be done or is it just easier response.redirecting?

Thanks for your time!
Posted
Updated 18-Jul-13 5:04am
v2
Comments
MJ_ 18-Jul-13 14:03pm
   
:( Guess I'll response redirect. Seems like there would be a way to do this easily..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900