467,076 Members | 882 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,076 developers. It's quick & easy.

Cookiekess forms authentication gives error with ASP.NET 2.0 SiteMap

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
cookieless="AutoDetect".
- 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
  • viewed: 1244
Share:
1 Reply
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.

Similar topics

3 posts views Thread by Kris van der Mast | last post: by
4 posts views Thread by Andrew Banks | last post: by
1 post views Thread by Gareth | last post: by
1 post views Thread by Sumaira Ahmad | last post: by
1 post views Thread by -D- | last post: by
5 posts views Thread by Tim Mackey | last post: by
reply views Thread by Chris | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.