For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > January 2006 > TreeView with SiteMap and cookieless sessions









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author TreeView with SiteMap and cookieless sessions
mfr

2006-01-31, 7:03 pm

My website uses a TreeView control, linked to the web.sitemap for navigation.

I'm also using cookieless Sessions.

Even though I'm storing relative paths in my Sitemap, the tree view is
converting these to absolute paths. Therefore, everytime the user clicks on
the tree, an absolute path is generated causing a new session to be started.

I've got around this for now by handling the TreeView's DataBound event and
converting each node's navigation url back to relative.

Am I missing something, is this a bug or is it by some strange design?

Regards,
Dave.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com