Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all

 

Am attempting to switch from Windows authentication to Forms authentication on my project.The first step of setting the authentication is no prob.

<authentication mode ="Forms">
</authentication>

 

Now the default start page is a page called Login.aspx, my default webpage is "Default.aspx", now to specify this i went

<authentication mode ="Forms">
  <Forms loginurl="Default.aspx"></Forms>
</authentication>

The problem is that the application will not recognise the loginUrl keyword.

 

Anyone got a suggestion

 

Mike55

A Client refers to the person who incurs the development cost.

A Customer refers to the person that pays to use the product.

------

My software never has bugs. It just develops random features. (Mosabama vbforums.com)

Posted
Hi all

 

Am attempting to switch from Windows authentication to Forms authentication on my project.The first step of setting the authentication is no prob.

<authentication mode ="Forms">
</authentication>

 

Now the default start page is a page called Login.aspx, my default webpage is "Default.aspx", now to specify this i went

<authentication mode ="Forms">
  <Forms loginurl="Default.aspx"></Forms>
</authentication>

The problem is that the application will not recognise the loginUrl keyword.

 

Anyone got a suggestion

 

Mike55

 

 

Problem solved, the web.config file seems to be case sensitive.

 

Mike55

A Client refers to the person who incurs the development cost.

A Customer refers to the person that pays to use the product.

------

My software never has bugs. It just develops random features. (Mosabama vbforums.com)

Posted

Greetings Mike:

 

This is a sample of the web config settings I use. Modify them how you like. I believe that it is case sensitive.

 

<authentication mode="Forms"> 
         <forms name="SiteName" protection="All" loginUrl="yourloginpagehere.aspx" timeout="60"/>
</authentication>

Hope this is somehow usefull to you.

~~ The One Who Was ~~

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...