Ask a Question related to ASP.NET Security, Design and Development.
-
Anthony #1
Maintaining the current context .user between sites
Hi there,
I am not sure if what i am after can be done but if anyone can shed
any light on the topic.. Basically i have a website that logs in the
user and puts there details in the context.user.. Then on the same
server and domain i have a virtual directory to another application
within the same site called 'factory'.. So this is accessed by
navigating to
[url]www.domain.com/factory[/url]
however when i navigate here the context.user has been cleared.. Is
there any way around this situation.. The 'factory' is being developed
by another company in VB so i can integrate it directly into my c#
project..
Any ideas
Thanks
Anthony
Anthony Guest
-
Maintaining state in programmatically created composite user controls
Hi I'm writing a timesheet application in ASP.NET (framework 1.1, VS 2003) that includes a user control to manage project time allocation... -
ASP.NET Context.User.IsInRole XP Problem
Hi guys I am having a problem with the following line of code on Windows XP Pro. The variable userRole is a string depicting my role on the local... -
how to persist a user identity across a web service session context
hi, i'm using a simple web service authentication method (not WSE). the problem is that when i set a generic principal on the Context.User object,... -
Context.User.Identity question
Hi! 1st: when I debug this: FormsAuthentication.SetAuthCookie(email.Text, RememberCheckbox.Checked) and set a breakpoint a line after -
Question: COntext.User.IsInRole
You would set them in your global.asax in the Authenticate event. -- John Saunders Internet Engineer john.saunders@surfcontrol.com "VB... -
Jorge Matos #2
RE: Maintaining the current context .user between sites
HttpContext is specific to an application domain, the "factory" website has
its own domain and hence its own application domain. I would try to
configure the "factory" web site to not be its own application but instead to
be a simple folder in your application.
"Anthony" wrote:
> Hi there,
>
> I am not sure if what i am after can be done but if anyone can shed
> any light on the topic.. Basically i have a website that logs in the
> user and puts there details in the context.user.. Then on the same
> server and domain i have a virtual directory to another application
> within the same site called 'factory'.. So this is accessed by
> navigating to
> [url]www.domain.com/factory[/url]
>
> however when i navigate here the context.user has been cleared.. Is
> there any way around this situation.. The 'factory' is being developed
> by another company in VB so i can integrate it directly into my c#
> project..
>
> Any ideas
>
> Thanks
> Anthony
>Jorge Matos Guest



Reply With Quote

