asp.net dynamic sitemap with querystring? Session variable seems like overkill.
Posted
by Mike
on Stack Overflow
See other posts from Stack Overflow
or by Mike
Published on 2010-04-20T03:30:03Z
Indexed on
2010/04/20
3:33 UTC
Read the original article
Hit count: 501
Hi,
I'm using ASP.NET WebForms. I'm using the standard sitemap provider.
Home > User > Account > Entry
Going to the home page should have a user selection screen. Clicking on a user should list out the user's accounts with options to edit, delete, add accounts.
Selecting an account should list out all the user's account's entries with options to edit delete and add entries.
How do you normally pass this information between pages?
I could use the query string, but then, the sitemap doesn't work. The sitemap only has the exact page without the query string and therefore loses the information.
/User/Account/List.aspx?User=123 /User/Account/Entry/List.aspx?User=123&Account=322
I could use a session variable, but this seems overkill.
Thoughts and suggestions very appreciated.
Thanks!
© Stack Overflow or respective owner