By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,469 Members | 1,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,469 IT Pros & Developers. It's quick & easy.

Cookiekess forms authentication gives error with ASP.NET 2.0 SiteMap

P: n/a
For a project I'm developing a custom ASP.NET 2.0 website.

The case:
- Forms authentication
- Cookieless forms authentication and sessionstates is enabled via
- On the MasterPage a TreeView-menu is linked to the Web.sitemap.

The issue:
When I browse this website with a browser that allows cookies,
everything works ok. That is; I can sign in, and via the TreeView-menu
I can navigate through the website. Now when I browse this website with
a browser that doesn't allow cookies I can still sign in. However, when
I try to navigate through the website using the TreeView-menu, I get
signed out and prompted with the login page. To be sure it was the
TreeView-menu control that was responsible for this result, I added
some <asp:HyperLink>-controls which I used to navigate through the
site. This didn't give this issue.

Is there a known problem with the SiteMap navigation-controls in
ASP.NET 2.0 in combination with cookieless authentication? If so, are
there solutions of workarounds?

Help would be greatly appreciated! Actually the sooner the better, this
has hold us up for too long already.

Apr 5 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Unfortunately I didn't receive any reaction on my post above.

I found that working cookieless using FormsAuthentication isn't as easy
as it should be. The issue above illustrates this perfectly.
Nevertheless I found a workaround in overriding the DataBound event.

If anybody has a better solution implementing this, please let me know.

Apr 11 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.