...

View Full Version : Login page



QBall777
05-31-2007, 12:42 PM
Hi

I'm sure the answer to this question is very simple but here goes!

I have a basic login page for my members, the login settings are in a web.config file (see below)


<authentication mode="Forms">
<forms loginUrl="members/login.aspx" protection="All" timeout="30">
<credentials passwordFormat="Clear">
<user name="user name" password="password"/>
</credentials>

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

When a user logs in successfully they are directed to default.aspx this needs to be members/default.aspx

I can not find where I change the successful login page url.

Any ideas,

Thanks

Brandoe85
05-31-2007, 03:02 PM
Set the path in the defaultUrl property:
http://msdn2.microsoft.com/en-us/library/system.web.security.formsauthentication.defaulturl(VS.80).aspx

Good luck.

QBall777
06-01-2007, 11:01 AM
Brandoe your the man!

I Knew it was simple, well it is now.

Thanks :thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum