MikeOS
10-18-2007, 01:05 PM
Hi all,
I have a custom (not CreateUserWizard) webform that lets a user sign up for an account, once signed up the user is redirected to a welcome page where, if they want a full account, they are encouraged to pay up. The problem I've noticed is that immediately after signing up the user isn't automatically logged in as I want them to be when arriving on the welcome page. I tried using FormsAuthentication.RedirectFromLoginPage static method and although this does indeed log the person in it messes other things up. In other words I don’t want existing users being redirected to the welcome and pay up page every time they log in, I only want this for new users immediately after signing up. So I suppose my question is can a user be logged in without using FormsAuthentication.RedirectFromLoginPage, and if so how?
If anyone has any other ideas on how to do this please let me know.
Thanks
I have a custom (not CreateUserWizard) webform that lets a user sign up for an account, once signed up the user is redirected to a welcome page where, if they want a full account, they are encouraged to pay up. The problem I've noticed is that immediately after signing up the user isn't automatically logged in as I want them to be when arriving on the welcome page. I tried using FormsAuthentication.RedirectFromLoginPage static method and although this does indeed log the person in it messes other things up. In other words I don’t want existing users being redirected to the welcome and pay up page every time they log in, I only want this for new users immediately after signing up. So I suppose my question is can a user be logged in without using FormsAuthentication.RedirectFromLoginPage, and if so how?
If anyone has any other ideas on how to do this please let me know.
Thanks