Author: kvitnickas | Posted on: 6/9/2009 8:26:42 AM | Views : 439

Hi all,

I've got .NET application where users are authenticated using Forms Authentication and assigned to Admin or User roles. Admins are
allowed to modify data and Users have read-only permissions. After data is modified Admins are able to preview data in the new browser
window which would open in the User mode.

To implement this scenario I set up two Virtual directories - Live and Preview. When the Admin logs into the Live site, FormsAuthenticationTicket is
created and the user is assigned to the Admin role. When he clicks on the preview button, a new Preview site window opens, FormsAuthenticationTicket is created and the user is asigned to the User mode. The problem is that after the Preview site opens the user can work on the Preview site, but the authentication ticket is set to NULL on the Live site and the user is redirected back to the login page.

Could someone advice me if there is any way to isola ...

Go to the complete details ...