What is the standard way of using a sitemap with pages that require specific information passed to t
Posted
by Mike
on Stack Overflow
See other posts from Stack Overflow
or by Mike
Published on 2010-05-25T23:24:51Z
Indexed on
2010/05/25
23:31 UTC
Read the original article
Hit count: 177
Hi,
I have a website for which many pages rely on information passed to them (usually in the form of a querystring) or on a session variable.
When making a web application, how do you normally handle these particular pages in regards to the sitemap?
If you're using the standard ASP.NET menu control, it will render the node on the menu and if you click it, you could get an exception stating that a session variable doesn't exist (if it hasn't been created yet).
For example, if you're making a user management area:
All of these nodes get rendered, but I don't want the user to click on edit user or delete user without specifying someone to edit or delete.
Any tips or suggestions would be greatly appreciated.
© Stack Overflow or respective owner