Re: Forms Authentication Cohabitation Between Framework 1.1 and 2.0



You have to sync the machine key elements between the both apps - make sure you are using compatible crypto algorithms in both.

have a look at the <machineKey> element in web.config.

---
Dominick Baier, DevelopMentor
http://www.leastprivilege.com

Hi!

I have an ASP.NET/C# app and I've got to obtain some user data from a
System.Security.Principal.GenericPrincipal object, created in
framework 1.1 in a solution, wich my app will be part of it.

In my Web.Config I write the same configuration that the 1.1 framework
Web.Config projects:

<authentication mode="Forms">
<forms name="myCookie" loginUrl="/theAPP/default.aspx" timeout="10"
/>
</authentication>
This code, calls the login of theAPP solution, but, when the user gets
authenticated, my app doesn't recognize it, and keeps calling the
login...

Any idea of how can I handle this?

Thanks!

*** Sent via Developersdex http://www.developersdex.com ***



.



Relevant Pages

  • Re: which is a better dev language
    ... Java is not real time either - no runtime with a GC is. ... Managed code on the desktop succeeds for the same ... Run a .NET app on a Palm device with a Palm OS? ... Managed code has a slow startup as the framework is loaded and JITted ...
    (microsoft.public.pocketpc.developer)
  • Re: OODesign - OPF, design pattern
    ... I developed a Pocket PC app last year using the compact framework. ... Maybe my design is just very simple then, ... and its in the application layer not the business ...
    (borland.public.delphi.non-technical)
  • Re: Which do I use for web design?
    ... your own "framework" may simply be a re-useable controller ... servlet, an event handler base class, some of the core event handlers, and ... Views, that other bit is replacing your Controller, and that other stuff is ... in an hour or so you can have a working app that set up entity classes ...
    (comp.lang.java.programmer)
  • Re: Whose Fish?
    ... "Reuse" has seemed to fall out of favor as a top claim of OOP. ... Language Framework: the framework of preexisting *reusable* classes ... When I start an app I first check to see if the tools I need to solve ... random number generator. ...
    (comp.object)
  • Re: Bitter about [Lack of] .Net Framework Deployment
    ... We built a very nice auto-update framework, ... the 30-60 minute range to install. ... Also, the user's perception is reality - and our app install sucks, ... deploying 3.0 application, so I've not paid that close attention. ...
    (microsoft.public.dotnet.framework)