Advertisement

05.29.2008 at 11:36AM PDT, ID: 23442475
[x]
Attachment Details

CreateUserWizard Logs Out after Creation (Forms Authentication)

Asked by tfewster500 in Visual Studio .NET 2005

I'm creating a site that has a page called "Administration.aspx" that only users who are in the Administrators role can access.  This page has a CreateUserWizard to allow Administrators to create new users on the site.  My site uses Forms Authentication.

I have no problem setting up the wizard to create new users, however, after a new user is created and the administrator clicks the "ContinueButton", the administrator redirected to the log in page (the page identified as the log in page for forms authentication in the web.config file).  When this redirection happens, the "Administration.aspx" page is the Redirect page in the QueryString so if the Administrator logs in again, they are taken back to the Administration.aspx page.

What I want to happen is for the wizard to simply start over again so the Administrator can continue to enter new users if they like.  How can I do this?

I've tried setting the ContinueDestinationPageUrl and and FinishDestinationpageUrl to the "Administration.aspx" page, but that does not work.Start Free Trial
[+][-]06.06.2008 at 08:10AM PDT, ID: 21729803

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Visual Studio .NET 2005
Sign Up Now!
Solution Provided By: scgstuff
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628