Main Page | Report this Page
.NET DotNet Forum Index  »  ASP.NET Forum  »  Login page won't redirect to a Register (new account)...
Page 1 of 1    

Login page won't redirect to a Register (new account)...

Author Message
Jay...
Posted: Sun Nov 01, 2009 4:10 am
Guest
I've used Forms authentication in a number of ASP.Net
projects, but having a new problem. My Login.aspx
page has a link to a page for the registration
wizard, but won't go there when the hyperlink
is clicked. I use IE7.

For the Login.aspx page, I have a simple
Login control as follows:

<asp:Login
ID="Login1"

CreateUserText="Register"
CreateUserUrl="~/Register.aspx"

Runat="server"

/>

The Register.aspx page has a CreateUser
Wizard configured as follows:

<asp:CreateUserWizard
id="CreateUserWizard1"

ContinueDestinationPageUrl="~/Default.aspx"
runat="server"
/>

My Web.config file has the following:

<authorization>
<deny users="?" />
</authorization>

and

<authentication mode="Forms">
<forms protection="All" longinUrl="Login.aspx" />
</authentication>

For IIS Authentication, I have Forms Authentication
enabled and Anonymous, ASP.NEt, and Basic
Authentication disabled.

On my Login page, if I click the Register hyperlink,
redirection does not occur.

Anybody see what I'm doing wrong?
 
Gregory A. Beamer...
Posted: Wed Nov 04, 2009 5:49 pm
Guest
Jay <info at (no spam) thesitebuilders.us> wrote in news:0ab9fc5c-eafe-43ef-9bea-
2c84551a5bfd at (no spam) t2g2000yqn.googlegroups.com:

Quote:
Oops, of course. My simplified example was a little extreme.
That is, I had set up all pages as secure even the
registration page. Fixes that.

Worse things have been known to happen! :-)

Many times, I find the simplest answer is the one I am not thinking of. ;-)

Peace and Grace,

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: at (no spam) gbworld
Blog: http://gregorybeamer.spaces.live.com

Childhood Cancer Sites:
-----------------------
Why I Believe in Christmas - http://bit.ly/2e5ZS0
Miranda in Nashville Parent - http://bit.ly/4u8zTE
46 Women Save Heads for Cancer - http://bit.ly/2Kzijw
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Mon Nov 30, 2009 7:22 am