473,324 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

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
1 1387
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms...
3
by: Kris van der Mast | last post by:
Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain subfolder my administration pages should be...
4
by: Andrew Banks | last post by:
Can anyone help me out with why the following code in web.config <authentication mode="Forms" /> <forms loginUrl = "Secure/Login.aspx" /> </authentication> gives me the following error ...
1
by: Gareth | last post by:
I have an ASP.NET application using forms authentication. I works without any problems. I have been trying to enable the login process to work over SSL but it fails with the same problem...
1
by: Sumaira Ahmad | last post by:
Hi, Please help me with this.. I am trying to use Forms Authentication in a sample project. I basically want to have two folders in my application , one in which I store pages that can be...
3
by: David GB | last post by:
I'm trying to set u forms mode authentiaction on a sub-directory. The web.config for the overall site is set to <authentication mode="None" /> In the sub-directory I have a very simple...
1
by: -D- | last post by:
I am trying to use multiple sitemaps within my site as described in the following MSDN article: http://msdn2.microsoft.com/en-us/library/ms178426.aspx I tried adding the following to the...
5
by: Tim Mackey | last post by:
hi, i have put my web.sitemap in /App_Data so i can edit it programatically via a web admin page, inheriting the modify permissions from the App_Data folder etc. i was hoping the provider would...
0
by: Chris | last post by:
Hi, i have a problem with sitemap combined with roles. I already posted this but i reformulated simplier: here: there are two defined users: user1 and user2 there is one role: manager user1...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.