Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > RedirectFromLogin Goes Nowhere?

Reply
Thread Tools

RedirectFromLogin Goes Nowhere?

 
 
dave
Guest
Posts: n/a
 
      11-11-2003
Can anyone shed any light on the following:

I have forms authentication setup within the web.config file (see below)
which protects the entire website, which brings up the login page - OK.

However, even though I have been logged in and authenticated it is still
returning to the login page. However if i log in again it will try to go
off to the originially specified location, but never seems to get there?

If i then directly type in the original URL i tried in the very 1st place it
resolves fine, as i am now authenticated.

This is extremely baffling - hope someone can help!


Web Config settings.

<configuration>
<system.web>
<customErrors mode="Off"/>
<pages smartNavigation="true"/>
<compilation debug="true"/>

<authentication mode="Forms" >
<forms name="App1" path="/" loginUrl="login.aspx" >
<credentials passwordFormat="Clear">
<user name="tester" password="testing" />
</credentials>
</forms>
</authentication>


<authorization>
<allow users="tester"/>
<deny users="?"/>
</authorization>
</system.web>

</configuration>




 
Reply With Quote
 
 
 
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      11-11-2003
Dave,

This web.config should work although you should reverse your <allow> and
<deny> tags in the <authorization> element.

Jim Cheshire [MSFT]
Developer Support
ASP.NET


This post is provided as-is with no warranties and confers no rights.

--------------------
>From: "dave" <>
>Subject: RedirectFromLogin Goes Nowhere?
>Date: Tue, 11 Nov 2003 11:07:55 -0000
>Lines: 43
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com 81.128.209.62
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
>Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.framework.aspnet.security: 7513
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>
>Can anyone shed any light on the following:
>
>I have forms authentication setup within the web.config file (see below)
>which protects the entire website, which brings up the login page - OK.
>
>However, even though I have been logged in and authenticated it is still
>returning to the login page. However if i log in again it will try to go
>off to the originially specified location, but never seems to get there?
>
>If i then directly type in the original URL i tried in the very 1st place

it
>resolves fine, as i am now authenticated.
>
>This is extremely baffling - hope someone can help!
>
>
>Web Config settings.
>
><configuration>
><system.web>
> <customErrors mode="Off"/>
> <pages smartNavigation="true"/>
> <compilation debug="true"/>
>
><authentication mode="Forms" >
><forms name="App1" path="/" loginUrl="login.aspx" >
> <credentials passwordFormat="Clear">
> <user name="tester" password="testing" />
> </credentials>
></forms>
></authentication>
>
>
> <authorization>
> <allow users="tester"/>
> <deny users="?"/>
> </authorization>
></system.web>
>
></configuration>
>
>
>
>
>


 
Reply With Quote
 
 
 
 
dave
Guest
Posts: n/a
 
      11-11-2003
Thanks for that Jim

You are right of course they should ordered differently, but unfortunately
that did not make any difference...

This all works fine on my local pc and server, but not on my ISP's dotnet
site (Fasthosts) - is there anything i can ask them that might be causing
this?

Thanks again...

Cheers

Dave


"Jim Cheshire [MSFT]" <> wrote in message
news:ZN%...
> Dave,
>
> This web.config should work although you should reverse your <allow> and
> <deny> tags in the <authorization> element.
>
> Jim Cheshire [MSFT]
> Developer Support
> ASP.NET
>
>
> This post is provided as-is with no warranties and confers no rights.
>
> --------------------
> >From: "dave" <>
> >Subject: RedirectFromLogin Goes Nowhere?
> >Date: Tue, 11 Nov 2003 11:07:55 -0000
> >Lines: 43
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >Message-ID: <>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com

81.128.209.62
> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
> >Xref: cpmsftngxa06.phx.gbl

> microsoft.public.dotnet.framework.aspnet.security: 7513
> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
> >
> >Can anyone shed any light on the following:
> >
> >I have forms authentication setup within the web.config file (see below)
> >which protects the entire website, which brings up the login page - OK.
> >
> >However, even though I have been logged in and authenticated it is still
> >returning to the login page. However if i log in again it will try to go
> >off to the originially specified location, but never seems to get there?
> >
> >If i then directly type in the original URL i tried in the very 1st place

> it
> >resolves fine, as i am now authenticated.
> >
> >This is extremely baffling - hope someone can help!
> >
> >
> >Web Config settings.
> >
> ><configuration>
> ><system.web>
> > <customErrors mode="Off"/>
> > <pages smartNavigation="true"/>
> > <compilation debug="true"/>
> >
> ><authentication mode="Forms" >
> ><forms name="App1" path="/" loginUrl="login.aspx" >
> > <credentials passwordFormat="Clear">
> > <user name="tester" password="testing" />
> > </credentials>
> ></forms>
> ></authentication>
> >
> >
> > <authorization>
> > <allow users="tester"/>
> > <deny users="?"/>
> > </authorization>
> ></system.web>
> >
> ></configuration>
> >
> >
> >
> >
> >

>



 
Reply With Quote
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      11-12-2003
Dave,

I would check to see if it's really parsing your web.config. Try adding a
<foo> tag to your web.config and see if it throws an error.

Jim Cheshire [MSFT]
Developer Support
ASP.NET


This post is provided as-is with no warranties and confers no rights.


--------------------
>From: "dave" <>
>References: <>

<ZN#>
>Subject: Re: RedirectFromLogin Goes Nowhere?
>Date: Tue, 11 Nov 2003 20:00:40 -0000
>Lines: 96
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <#mAc$>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com 81.128.209.62
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
>Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.framework.aspnet.security: 7527
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>
>Thanks for that Jim
>
>You are right of course they should ordered differently, but unfortunately
>that did not make any difference...
>
>This all works fine on my local pc and server, but not on my ISP's dotnet
>site (Fasthosts) - is there anything i can ask them that might be causing
>this?
>
>Thanks again...
>
>Cheers
>
>Dave
>
>
>"Jim Cheshire [MSFT]" <> wrote in message
>news:ZN%...
>> Dave,
>>
>> This web.config should work although you should reverse your <allow> and
>> <deny> tags in the <authorization> element.
>>
>> Jim Cheshire [MSFT]
>> Developer Support
>> ASP.NET
>>
>>
>> This post is provided as-is with no warranties and confers no rights.
>>
>> --------------------
>> >From: "dave" <>
>> >Subject: RedirectFromLogin Goes Nowhere?
>> >Date: Tue, 11 Nov 2003 11:07:55 -0000
>> >Lines: 43
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com

>81.128.209.62
>> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
>> >Xref: cpmsftngxa06.phx.gbl

>> microsoft.public.dotnet.framework.aspnet.security: 7513
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>> >
>> >Can anyone shed any light on the following:
>> >
>> >I have forms authentication setup within the web.config file (see below)
>> >which protects the entire website, which brings up the login page - OK.
>> >
>> >However, even though I have been logged in and authenticated it is still
>> >returning to the login page. However if i log in again it will try to

go
>> >off to the originially specified location, but never seems to get there?
>> >
>> >If i then directly type in the original URL i tried in the very 1st

place
>> it
>> >resolves fine, as i am now authenticated.
>> >
>> >This is extremely baffling - hope someone can help!
>> >
>> >
>> >Web Config settings.
>> >
>> ><configuration>
>> ><system.web>
>> > <customErrors mode="Off"/>
>> > <pages smartNavigation="true"/>
>> > <compilation debug="true"/>
>> >
>> ><authentication mode="Forms" >
>> ><forms name="App1" path="/" loginUrl="login.aspx" >
>> > <credentials passwordFormat="Clear">
>> > <user name="tester" password="testing" />
>> > </credentials>
>> ></forms>
>> ></authentication>
>> >
>> >
>> > <authorization>
>> > <allow users="tester"/>
>> > <deny users="?"/>
>> > </authorization>
>> ></system.web>
>> >
>> ></configuration>
>> >
>> >
>> >
>> >
>> >

>>

>
>
>


 
Reply With Quote
 
dave
Guest
Posts: n/a
 
      11-12-2003
Yep, that throws an error!



"Jim Cheshire [MSFT]" <> wrote in message
news:...
> Dave,
>
> I would check to see if it's really parsing your web.config. Try adding a
> <foo> tag to your web.config and see if it throws an error.
>
> Jim Cheshire [MSFT]
> Developer Support
> ASP.NET
>
>
> This post is provided as-is with no warranties and confers no rights.
>
>
> --------------------
> >From: "dave" <>
> >References: <>

> <ZN#>
> >Subject: Re: RedirectFromLogin Goes Nowhere?
> >Date: Tue, 11 Nov 2003 20:00:40 -0000
> >Lines: 96
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >Message-ID: <#mAc$>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com

81.128.209.62
> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
> >Xref: cpmsftngxa06.phx.gbl

> microsoft.public.dotnet.framework.aspnet.security: 7527
> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
> >
> >Thanks for that Jim
> >
> >You are right of course they should ordered differently, but

unfortunately
> >that did not make any difference...
> >
> >This all works fine on my local pc and server, but not on my ISP's dotnet
> >site (Fasthosts) - is there anything i can ask them that might be causing
> >this?
> >
> >Thanks again...
> >
> >Cheers
> >
> >Dave
> >
> >
> >"Jim Cheshire [MSFT]" <> wrote in message
> >news:ZN%...
> >> Dave,
> >>
> >> This web.config should work although you should reverse your <allow>

and
> >> <deny> tags in the <authorization> element.
> >>
> >> Jim Cheshire [MSFT]
> >> Developer Support
> >> ASP.NET
> >>
> >>
> >> This post is provided as-is with no warranties and confers no rights.
> >>
> >> --------------------
> >> >From: "dave" <>
> >> >Subject: RedirectFromLogin Goes Nowhere?
> >> >Date: Tue, 11 Nov 2003 11:07:55 -0000
> >> >Lines: 43
> >> >X-Priority: 3
> >> >X-MSMail-Priority: Normal
> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >> >Message-ID: <>
> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
> >> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com

> >81.128.209.62
> >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
> >> >Xref: cpmsftngxa06.phx.gbl
> >> microsoft.public.dotnet.framework.aspnet.security: 7513
> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
> >> >
> >> >Can anyone shed any light on the following:
> >> >
> >> >I have forms authentication setup within the web.config file (see

below)
> >> >which protects the entire website, which brings up the login page -

OK.
> >> >
> >> >However, even though I have been logged in and authenticated it is

still
> >> >returning to the login page. However if i log in again it will try to

> go
> >> >off to the originially specified location, but never seems to get

there?
> >> >
> >> >If i then directly type in the original URL i tried in the very 1st

> place
> >> it
> >> >resolves fine, as i am now authenticated.
> >> >
> >> >This is extremely baffling - hope someone can help!
> >> >
> >> >
> >> >Web Config settings.
> >> >
> >> ><configuration>
> >> ><system.web>
> >> > <customErrors mode="Off"/>
> >> > <pages smartNavigation="true"/>
> >> > <compilation debug="true"/>
> >> >
> >> ><authentication mode="Forms" >
> >> ><forms name="App1" path="/" loginUrl="login.aspx" >
> >> > <credentials passwordFormat="Clear">
> >> > <user name="tester" password="testing" />
> >> > </credentials>
> >> ></forms>
> >> ></authentication>
> >> >
> >> >
> >> > <authorization>
> >> > <allow users="tester"/>
> >> > <deny users="?"/>
> >> > </authorization>
> >> ></system.web>
> >> >
> >> ></configuration>
> >> >
> >> >
> >> >
> >> >
> >> >
> >>

> >
> >
> >

>



 
Reply With Quote
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      11-13-2003
Dave,

Okay, now we know that we are truly parsing your Web.config.

In order to really troubleshoot this, you really need access to the server.
It would then be best to open a case with us so that we can look into it.
If your host will agree to conference call with us, we can figure out
what's going on.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET


This post is provided as-is with no warranties and confers no rights.


--------------------
>From: "dave" <>
>References: <>

<ZN#>
<#mAc$>
<>
>Subject: Re: RedirectFromLogin Goes Nowhere?
>Date: Wed, 12 Nov 2003 18:24:46 -0000
>Lines: 147
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com 81.128.209.62
>Path:

cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP09.phx.gbl
>Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.framework.aspnet.security: 7550
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>
>Yep, that throws an error!
>
>
>
>"Jim Cheshire [MSFT]" <> wrote in message
>news:...
>> Dave,
>>
>> I would check to see if it's really parsing your web.config. Try adding

a
>> <foo> tag to your web.config and see if it throws an error.
>>
>> Jim Cheshire [MSFT]
>> Developer Support
>> ASP.NET
>>
>>
>> This post is provided as-is with no warranties and confers no rights.
>>
>>
>> --------------------
>> >From: "dave" <>
>> >References: <>

>> <ZN#>
>> >Subject: Re: RedirectFromLogin Goes Nowhere?
>> >Date: Tue, 11 Nov 2003 20:00:40 -0000
>> >Lines: 96
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <#mAc$>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com

>81.128.209.62
>> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
>> >Xref: cpmsftngxa06.phx.gbl

>> microsoft.public.dotnet.framework.aspnet.security: 7527
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>> >
>> >Thanks for that Jim
>> >
>> >You are right of course they should ordered differently, but

>unfortunately
>> >that did not make any difference...
>> >
>> >This all works fine on my local pc and server, but not on my ISP's

dotnet
>> >site (Fasthosts) - is there anything i can ask them that might be

causing
>> >this?
>> >
>> >Thanks again...
>> >
>> >Cheers
>> >
>> >Dave
>> >
>> >
>> >"Jim Cheshire [MSFT]" <> wrote in message
>> >news:ZN%...
>> >> Dave,
>> >>
>> >> This web.config should work although you should reverse your <allow>

>and
>> >> <deny> tags in the <authorization> element.
>> >>
>> >> Jim Cheshire [MSFT]
>> >> Developer Support
>> >> ASP.NET
>> >>
>> >>
>> >> This post is provided as-is with no warranties and confers no rights.
>> >>
>> >> --------------------
>> >> >From: "dave" <>
>> >> >Subject: RedirectFromLogin Goes Nowhere?
>> >> >Date: Tue, 11 Nov 2003 11:07:55 -0000
>> >> >Lines: 43
>> >> >X-Priority: 3
>> >> >X-MSMail-Priority: Normal
>> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >Message-ID: <>
>> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>> >> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com
>> >81.128.209.62
>> >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
>> >> >Xref: cpmsftngxa06.phx.gbl
>> >> microsoft.public.dotnet.framework.aspnet.security: 7513
>> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>> >> >
>> >> >Can anyone shed any light on the following:
>> >> >
>> >> >I have forms authentication setup within the web.config file (see

>below)
>> >> >which protects the entire website, which brings up the login page -

>OK.
>> >> >
>> >> >However, even though I have been logged in and authenticated it is

>still
>> >> >returning to the login page. However if i log in again it will try

to
>> go
>> >> >off to the originially specified location, but never seems to get

>there?
>> >> >
>> >> >If i then directly type in the original URL i tried in the very 1st

>> place
>> >> it
>> >> >resolves fine, as i am now authenticated.
>> >> >
>> >> >This is extremely baffling - hope someone can help!
>> >> >
>> >> >
>> >> >Web Config settings.
>> >> >
>> >> ><configuration>
>> >> ><system.web>
>> >> > <customErrors mode="Off"/>
>> >> > <pages smartNavigation="true"/>
>> >> > <compilation debug="true"/>
>> >> >
>> >> ><authentication mode="Forms" >
>> >> ><forms name="App1" path="/" loginUrl="login.aspx" >
>> >> > <credentials passwordFormat="Clear">
>> >> > <user name="tester" password="testing" />
>> >> > </credentials>
>> >> ></forms>
>> >> ></authentication>
>> >> >
>> >> >
>> >> > <authorization>
>> >> > <allow users="tester"/>
>> >> > <deny users="?"/>
>> >> > </authorization>
>> >> ></system.web>
>> >> >
>> >> ></configuration>
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >

>>

>
>
>


 
Reply With Quote
 
dave
Guest
Posts: n/a
 
      11-18-2003
Jim

Sorry for the delay been away for a few days.

I have forwarded a request to my ISP (FastHosts) to see if this is something
they will cater.

Will come back to you soonest.

Cheers

Dave



"Jim Cheshire [MSFT]" <> wrote in message
news:...
> Dave,
>
> Okay, now we know that we are truly parsing your Web.config.
>
> In order to really troubleshoot this, you really need access to the

server.
> It would then be best to open a case with us so that we can look into it.
> If your host will agree to conference call with us, we can figure out
> what's going on.
>
> Jim Cheshire, MCSE, MCSD [MSFT]
> Developer Support
> ASP.NET
>
>
> This post is provided as-is with no warranties and confers no rights.
>
>
> --------------------
> >From: "dave" <>
> >References: <>

> <ZN#>
> <#mAc$>
> <>
> >Subject: Re: RedirectFromLogin Goes Nowhere?
> >Date: Wed, 12 Nov 2003 18:24:46 -0000
> >Lines: 147
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >Message-ID: <>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com

81.128.209.62
> >Path:

>

cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
> phx.gbl!TK2MSFTNGP09.phx.gbl
> >Xref: cpmsftngxa06.phx.gbl

> microsoft.public.dotnet.framework.aspnet.security: 7550
> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
> >
> >Yep, that throws an error!
> >
> >
> >
> >"Jim Cheshire [MSFT]" <> wrote in message
> >news:...
> >> Dave,
> >>
> >> I would check to see if it's really parsing your web.config. Try

adding
> a
> >> <foo> tag to your web.config and see if it throws an error.
> >>
> >> Jim Cheshire [MSFT]
> >> Developer Support
> >> ASP.NET
> >>
> >>
> >> This post is provided as-is with no warranties and confers no rights.
> >>
> >>
> >> --------------------
> >> >From: "dave" <>
> >> >References: <>
> >> <ZN#>
> >> >Subject: Re: RedirectFromLogin Goes Nowhere?
> >> >Date: Tue, 11 Nov 2003 20:00:40 -0000
> >> >Lines: 96
> >> >X-Priority: 3
> >> >X-MSMail-Priority: Normal
> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >> >Message-ID: <#mAc$>
> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
> >> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com

> >81.128.209.62
> >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
> >> >Xref: cpmsftngxa06.phx.gbl
> >> microsoft.public.dotnet.framework.aspnet.security: 7527
> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
> >> >
> >> >Thanks for that Jim
> >> >
> >> >You are right of course they should ordered differently, but

> >unfortunately
> >> >that did not make any difference...
> >> >
> >> >This all works fine on my local pc and server, but not on my ISP's

> dotnet
> >> >site (Fasthosts) - is there anything i can ask them that might be

> causing
> >> >this?
> >> >
> >> >Thanks again...
> >> >
> >> >Cheers
> >> >
> >> >Dave
> >> >
> >> >
> >> >"Jim Cheshire [MSFT]" <> wrote in message
> >> >news:ZN%...
> >> >> Dave,
> >> >>
> >> >> This web.config should work although you should reverse your <allow>

> >and
> >> >> <deny> tags in the <authorization> element.
> >> >>
> >> >> Jim Cheshire [MSFT]
> >> >> Developer Support
> >> >> ASP.NET
> >> >>
> >> >>
> >> >> This post is provided as-is with no warranties and confers no

rights.
> >> >>
> >> >> --------------------
> >> >> >From: "dave" <>
> >> >> >Subject: RedirectFromLogin Goes Nowhere?
> >> >> >Date: Tue, 11 Nov 2003 11:07:55 -0000
> >> >> >Lines: 43
> >> >> >X-Priority: 3
> >> >> >X-MSMail-Priority: Normal
> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >> >> >Message-ID: <>
> >> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
> >> >> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com
> >> >81.128.209.62
> >> >> >Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
> >> >> >Xref: cpmsftngxa06.phx.gbl
> >> >> microsoft.public.dotnet.framework.aspnet.security: 7513
> >> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
> >> >> >
> >> >> >Can anyone shed any light on the following:
> >> >> >
> >> >> >I have forms authentication setup within the web.config file (see

> >below)
> >> >> >which protects the entire website, which brings up the login page -

> >OK.
> >> >> >
> >> >> >However, even though I have been logged in and authenticated it is

> >still
> >> >> >returning to the login page. However if i log in again it will try

> to
> >> go
> >> >> >off to the originially specified location, but never seems to get

> >there?
> >> >> >
> >> >> >If i then directly type in the original URL i tried in the very 1st
> >> place
> >> >> it
> >> >> >resolves fine, as i am now authenticated.
> >> >> >
> >> >> >This is extremely baffling - hope someone can help!
> >> >> >
> >> >> >
> >> >> >Web Config settings.
> >> >> >
> >> >> ><configuration>
> >> >> ><system.web>
> >> >> > <customErrors mode="Off"/>
> >> >> > <pages smartNavigation="true"/>
> >> >> > <compilation debug="true"/>
> >> >> >
> >> >> ><authentication mode="Forms" >
> >> >> ><forms name="App1" path="/" loginUrl="login.aspx" >
> >> >> > <credentials passwordFormat="Clear">
> >> >> > <user name="tester" password="testing" />
> >> >> > </credentials>
> >> >> ></forms>
> >> >> ></authentication>
> >> >> >
> >> >> >
> >> >> > <authorization>
> >> >> > <allow users="tester"/>
> >> >> > <deny users="?"/>
> >> >> > </authorization>
> >> >> ></system.web>
> >> >> >
> >> >> ></configuration>
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >
> >> >
> >> >
> >>

> >
> >
> >

>



 
Reply With Quote
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      11-18-2003
Thanks, Dave. If they agree to it, you will want to call (800) 936-5800
and open a case with us so that we can assist.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET


This post is provided as-is with no warranties and confers no rights.

--------------------
>From: "dave" <>
>References: <>

<ZN#>
<#mAc$>
<>
<>
<>
>Subject: Re: RedirectFromLogin Goes Nowhere?
>Date: Tue, 18 Nov 2003 08:35:03 -0000
>Lines: 218
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <#>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>NNTP-Posting-Host: host81-128-186-244.in-addr.btopenworld.com

81.128.186.244
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
>Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.framework.aspnet.security: 7606
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>
>Jim
>
>Sorry for the delay been away for a few days.
>
>I have forwarded a request to my ISP (FastHosts) to see if this is

something
>they will cater.
>
>Will come back to you soonest.
>
>Cheers
>
>Dave
>
>
>
>"Jim Cheshire [MSFT]" <> wrote in message
>news:...
>> Dave,
>>
>> Okay, now we know that we are truly parsing your Web.config.
>>
>> In order to really troubleshoot this, you really need access to the

>server.
>> It would then be best to open a case with us so that we can look into

it.
>> If your host will agree to conference call with us, we can figure out
>> what's going on.
>>
>> Jim Cheshire, MCSE, MCSD [MSFT]
>> Developer Support
>> ASP.NET
>>
>>
>> This post is provided as-is with no warranties and confers no rights.
>>
>>
>> --------------------
>> >From: "dave" <>
>> >References: <>

>> <ZN#>
>> <#mAc$>
>> <>
>> >Subject: Re: RedirectFromLogin Goes Nowhere?
>> >Date: Wed, 12 Nov 2003 18:24:46 -0000
>> >Lines: 147
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com

>81.128.209.62
>> >Path:

>>

>cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0

8
>> phx.gbl!TK2MSFTNGP09.phx.gbl
>> >Xref: cpmsftngxa06.phx.gbl

>> microsoft.public.dotnet.framework.aspnet.security: 7550
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>> >
>> >Yep, that throws an error!
>> >
>> >
>> >
>> >"Jim Cheshire [MSFT]" <> wrote in message
>> >news:...
>> >> Dave,
>> >>
>> >> I would check to see if it's really parsing your web.config. Try

>adding
>> a
>> >> <foo> tag to your web.config and see if it throws an error.
>> >>
>> >> Jim Cheshire [MSFT]
>> >> Developer Support
>> >> ASP.NET
>> >>
>> >>
>> >> This post is provided as-is with no warranties and confers no rights.
>> >>
>> >>
>> >> --------------------
>> >> >From: "dave" <>
>> >> >References: <>
>> >> <ZN#>
>> >> >Subject: Re: RedirectFromLogin Goes Nowhere?
>> >> >Date: Tue, 11 Nov 2003 20:00:40 -0000
>> >> >Lines: 96
>> >> >X-Priority: 3
>> >> >X-MSMail-Priority: Normal
>> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >Message-ID: <#mAc$>
>> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>> >> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com
>> >81.128.209.62
>> >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
>> >> >Xref: cpmsftngxa06.phx.gbl
>> >> microsoft.public.dotnet.framework.aspnet.security: 7527
>> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>> >> >
>> >> >Thanks for that Jim
>> >> >
>> >> >You are right of course they should ordered differently, but
>> >unfortunately
>> >> >that did not make any difference...
>> >> >
>> >> >This all works fine on my local pc and server, but not on my ISP's

>> dotnet
>> >> >site (Fasthosts) - is there anything i can ask them that might be

>> causing
>> >> >this?
>> >> >
>> >> >Thanks again...
>> >> >
>> >> >Cheers
>> >> >
>> >> >Dave
>> >> >
>> >> >
>> >> >"Jim Cheshire [MSFT]" <> wrote in

message
>> >> >news:ZN%...
>> >> >> Dave,
>> >> >>
>> >> >> This web.config should work although you should reverse your

<allow>
>> >and
>> >> >> <deny> tags in the <authorization> element.
>> >> >>
>> >> >> Jim Cheshire [MSFT]
>> >> >> Developer Support
>> >> >> ASP.NET
>> >> >>
>> >> >>
>> >> >> This post is provided as-is with no warranties and confers no

>rights.
>> >> >>
>> >> >> --------------------
>> >> >> >From: "dave" <>
>> >> >> >Subject: RedirectFromLogin Goes Nowhere?
>> >> >> >Date: Tue, 11 Nov 2003 11:07:55 -0000
>> >> >> >Lines: 43
>> >> >> >X-Priority: 3
>> >> >> >X-MSMail-Priority: Normal
>> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >> >Message-ID: <>
>> >> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>> >> >> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com
>> >> >81.128.209.62
>> >> >> >Path:

>cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
>> >> >> >Xref: cpmsftngxa06.phx.gbl
>> >> >> microsoft.public.dotnet.framework.aspnet.security: 7513
>> >> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>> >> >> >
>> >> >> >Can anyone shed any light on the following:
>> >> >> >
>> >> >> >I have forms authentication setup within the web.config file (see
>> >below)
>> >> >> >which protects the entire website, which brings up the login page

-
>> >OK.
>> >> >> >
>> >> >> >However, even though I have been logged in and authenticated it is
>> >still
>> >> >> >returning to the login page. However if i log in again it will

try
>> to
>> >> go
>> >> >> >off to the originially specified location, but never seems to get
>> >there?
>> >> >> >
>> >> >> >If i then directly type in the original URL i tried in the very

1st
>> >> place
>> >> >> it
>> >> >> >resolves fine, as i am now authenticated.
>> >> >> >
>> >> >> >This is extremely baffling - hope someone can help!
>> >> >> >
>> >> >> >
>> >> >> >Web Config settings.
>> >> >> >
>> >> >> ><configuration>
>> >> >> ><system.web>
>> >> >> > <customErrors mode="Off"/>
>> >> >> > <pages smartNavigation="true"/>
>> >> >> > <compilation debug="true"/>
>> >> >> >
>> >> >> ><authentication mode="Forms" >
>> >> >> ><forms name="App1" path="/" loginUrl="login.aspx" >
>> >> >> > <credentials passwordFormat="Clear">
>> >> >> > <user name="tester" password="testing" />
>> >> >> > </credentials>
>> >> >> ></forms>
>> >> >> ></authentication>
>> >> >> >
>> >> >> >
>> >> >> > <authorization>
>> >> >> > <allow users="tester"/>
>> >> >> > <deny users="?"/>
>> >> >> > </authorization>
>> >> >> ></system.web>
>> >> >> >
>> >> >> ></configuration>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >

>>

>
>
>


 
Reply With Quote
 
dave
Guest
Posts: n/a
 
      11-20-2003
Hi Jim

FH are not willing to assist - they reckon it is a scripting error...

I cant see what it is and i have followed all the samples available to man.



"Jim Cheshire [MSFT]" <> wrote in message
news...
> Thanks, Dave. If they agree to it, you will want to call (800) 936-5800
> and open a case with us so that we can assist.
>
> Jim Cheshire, MCSE, MCSD [MSFT]
> Developer Support
> ASP.NET
>
>
> This post is provided as-is with no warranties and confers no rights.
>
> --------------------
> >From: "dave" <>
> >References: <>

> <ZN#>
> <#mAc$>
> <>
> <>
> <>
> >Subject: Re: RedirectFromLogin Goes Nowhere?
> >Date: Tue, 18 Nov 2003 08:35:03 -0000
> >Lines: 218
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >Message-ID: <#>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
> >NNTP-Posting-Host: host81-128-186-244.in-addr.btopenworld.com

> 81.128.186.244
> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
> >Xref: cpmsftngxa06.phx.gbl

> microsoft.public.dotnet.framework.aspnet.security: 7606
> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
> >
> >Jim
> >
> >Sorry for the delay been away for a few days.
> >
> >I have forwarded a request to my ISP (FastHosts) to see if this is

> something
> >they will cater.
> >
> >Will come back to you soonest.
> >
> >Cheers
> >
> >Dave
> >
> >
> >
> >"Jim Cheshire [MSFT]" <> wrote in message
> >news:...
> >> Dave,
> >>
> >> Okay, now we know that we are truly parsing your Web.config.
> >>
> >> In order to really troubleshoot this, you really need access to the

> >server.
> >> It would then be best to open a case with us so that we can look into

> it.
> >> If your host will agree to conference call with us, we can figure out
> >> what's going on.
> >>
> >> Jim Cheshire, MCSE, MCSD [MSFT]
> >> Developer Support
> >> ASP.NET
> >>
> >>
> >> This post is provided as-is with no warranties and confers no rights.
> >>
> >>
> >> --------------------
> >> >From: "dave" <>
> >> >References: <>
> >> <ZN#>
> >> <#mAc$>
> >> <>
> >> >Subject: Re: RedirectFromLogin Goes Nowhere?
> >> >Date: Wed, 12 Nov 2003 18:24:46 -0000
> >> >Lines: 147
> >> >X-Priority: 3
> >> >X-MSMail-Priority: Normal
> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >> >Message-ID: <>
> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
> >> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com

> >81.128.209.62
> >> >Path:
> >>

>
>cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0
> 8
> >> phx.gbl!TK2MSFTNGP09.phx.gbl
> >> >Xref: cpmsftngxa06.phx.gbl
> >> microsoft.public.dotnet.framework.aspnet.security: 7550
> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
> >> >
> >> >Yep, that throws an error!
> >> >
> >> >
> >> >
> >> >"Jim Cheshire [MSFT]" <> wrote in message
> >> >news:...
> >> >> Dave,
> >> >>
> >> >> I would check to see if it's really parsing your web.config. Try

> >adding
> >> a
> >> >> <foo> tag to your web.config and see if it throws an error.
> >> >>
> >> >> Jim Cheshire [MSFT]
> >> >> Developer Support
> >> >> ASP.NET
> >> >>
> >> >>
> >> >> This post is provided as-is with no warranties and confers no

rights.
> >> >>
> >> >>
> >> >> --------------------
> >> >> >From: "dave" <>
> >> >> >References: <>
> >> >> <ZN#>
> >> >> >Subject: Re: RedirectFromLogin Goes Nowhere?
> >> >> >Date: Tue, 11 Nov 2003 20:00:40 -0000
> >> >> >Lines: 96
> >> >> >X-Priority: 3
> >> >> >X-MSMail-Priority: Normal
> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >> >> >Message-ID: <#mAc$>
> >> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
> >> >> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com
> >> >81.128.209.62
> >> >> >Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
> >> >> >Xref: cpmsftngxa06.phx.gbl
> >> >> microsoft.public.dotnet.framework.aspnet.security: 7527
> >> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
> >> >> >
> >> >> >Thanks for that Jim
> >> >> >
> >> >> >You are right of course they should ordered differently, but
> >> >unfortunately
> >> >> >that did not make any difference...
> >> >> >
> >> >> >This all works fine on my local pc and server, but not on my ISP's
> >> dotnet
> >> >> >site (Fasthosts) - is there anything i can ask them that might be
> >> causing
> >> >> >this?
> >> >> >
> >> >> >Thanks again...
> >> >> >
> >> >> >Cheers
> >> >> >
> >> >> >Dave
> >> >> >
> >> >> >
> >> >> >"Jim Cheshire [MSFT]" <> wrote in

> message
> >> >> >news:ZN%...
> >> >> >> Dave,
> >> >> >>
> >> >> >> This web.config should work although you should reverse your

> <allow>
> >> >and
> >> >> >> <deny> tags in the <authorization> element.
> >> >> >>
> >> >> >> Jim Cheshire [MSFT]
> >> >> >> Developer Support
> >> >> >> ASP.NET
> >> >> >>
> >> >> >>
> >> >> >> This post is provided as-is with no warranties and confers no

> >rights.
> >> >> >>
> >> >> >> --------------------
> >> >> >> >From: "dave" <>
> >> >> >> >Subject: RedirectFromLogin Goes Nowhere?
> >> >> >> >Date: Tue, 11 Nov 2003 11:07:55 -0000
> >> >> >> >Lines: 43
> >> >> >> >X-Priority: 3
> >> >> >> >X-MSMail-Priority: Normal
> >> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >> >> >> >Message-ID: <>
> >> >> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
> >> >> >> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com
> >> >> >81.128.209.62
> >> >> >> >Path:

> >cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
> >> >> >> >Xref: cpmsftngxa06.phx.gbl
> >> >> >> microsoft.public.dotnet.framework.aspnet.security: 7513
> >> >> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
> >> >> >> >
> >> >> >> >Can anyone shed any light on the following:
> >> >> >> >
> >> >> >> >I have forms authentication setup within the web.config file

(see
> >> >below)
> >> >> >> >which protects the entire website, which brings up the login

page
> -
> >> >OK.
> >> >> >> >
> >> >> >> >However, even though I have been logged in and authenticated it

is
> >> >still
> >> >> >> >returning to the login page. However if i log in again it will

> try
> >> to
> >> >> go
> >> >> >> >off to the originially specified location, but never seems to

get
> >> >there?
> >> >> >> >
> >> >> >> >If i then directly type in the original URL i tried in the very

> 1st
> >> >> place
> >> >> >> it
> >> >> >> >resolves fine, as i am now authenticated.
> >> >> >> >
> >> >> >> >This is extremely baffling - hope someone can help!
> >> >> >> >
> >> >> >> >
> >> >> >> >Web Config settings.
> >> >> >> >
> >> >> >> ><configuration>
> >> >> >> ><system.web>
> >> >> >> > <customErrors mode="Off"/>
> >> >> >> > <pages smartNavigation="true"/>
> >> >> >> > <compilation debug="true"/>
> >> >> >> >
> >> >> >> ><authentication mode="Forms" >
> >> >> >> ><forms name="App1" path="/" loginUrl="login.aspx" >
> >> >> >> > <credentials passwordFormat="Clear">
> >> >> >> > <user name="tester" password="testing" />
> >> >> >> > </credentials>
> >> >> >> ></forms>
> >> >> >> ></authentication>
> >> >> >> >
> >> >> >> >
> >> >> >> > <authorization>
> >> >> >> > <allow users="tester"/>
> >> >> >> > <deny users="?"/>
> >> >> >> > </authorization>
> >> >> >> ></system.web>
> >> >> >> >
> >> >> >> ></configuration>
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >
> >> >
> >> >
> >>

> >
> >
> >

>



 
Reply With Quote
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      11-20-2003
Dave,

That's a shame.

How are you coding your Forms authentication? Are you just calling
RedirectFromLogin()? How are you authenticating in the live site? Are you
just using the web.config with a list of users?

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET


This post is provided as-is with no warranties and confers no rights.

--------------------
>From: "dave" <>
>References: <>

<ZN#>
<#mAc$>
<>
<>
<>
<#>
<>
>Subject: Re: RedirectFromLogin Goes Nowhere?
>Date: Thu, 20 Nov 2003 09:20:48 -0000
>Lines: 281
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <#>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>NNTP-Posting-Host: host81-128-186-244.in-addr.btopenworld.com

81.128.186.244
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP10.phx.gbl
>Xref: cpmsftngxa07.phx.gbl

microsoft.public.dotnet.framework.aspnet.security: 7592
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>
>Hi Jim
>
>FH are not willing to assist - they reckon it is a scripting error...
>
>I cant see what it is and i have followed all the samples available to man.
>
>
>
>"Jim Cheshire [MSFT]" <> wrote in message
>news...
>> Thanks, Dave. If they agree to it, you will want to call (800) 936-5800
>> and open a case with us so that we can assist.
>>
>> Jim Cheshire, MCSE, MCSD [MSFT]
>> Developer Support
>> ASP.NET
>>
>>
>> This post is provided as-is with no warranties and confers no rights.
>>
>> --------------------
>> >From: "dave" <>
>> >References: <>

>> <ZN#>
>> <#mAc$>
>> <>
>> <>
>> <>
>> >Subject: Re: RedirectFromLogin Goes Nowhere?
>> >Date: Tue, 18 Nov 2003 08:35:03 -0000
>> >Lines: 218
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >Message-ID: <#>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>> >NNTP-Posting-Host: host81-128-186-244.in-addr.btopenworld.com

>> 81.128.186.244
>> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
>> >Xref: cpmsftngxa06.phx.gbl

>> microsoft.public.dotnet.framework.aspnet.security: 7606
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>> >
>> >Jim
>> >
>> >Sorry for the delay been away for a few days.
>> >
>> >I have forwarded a request to my ISP (FastHosts) to see if this is

>> something
>> >they will cater.
>> >
>> >Will come back to you soonest.
>> >
>> >Cheers
>> >
>> >Dave
>> >
>> >
>> >
>> >"Jim Cheshire [MSFT]" <> wrote in message
>> >news:...
>> >> Dave,
>> >>
>> >> Okay, now we know that we are truly parsing your Web.config.
>> >>
>> >> In order to really troubleshoot this, you really need access to the
>> >server.
>> >> It would then be best to open a case with us so that we can look into

>> it.
>> >> If your host will agree to conference call with us, we can figure out
>> >> what's going on.
>> >>
>> >> Jim Cheshire, MCSE, MCSD [MSFT]
>> >> Developer Support
>> >> ASP.NET
>> >>
>> >>
>> >> This post is provided as-is with no warranties and confers no rights.
>> >>
>> >>
>> >> --------------------
>> >> >From: "dave" <>
>> >> >References: <>
>> >> <ZN#>
>> >> <#mAc$>
>> >> <>
>> >> >Subject: Re: RedirectFromLogin Goes Nowhere?
>> >> >Date: Wed, 12 Nov 2003 18:24:46 -0000
>> >> >Lines: 147
>> >> >X-Priority: 3
>> >> >X-MSMail-Priority: Normal
>> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >Message-ID: <>
>> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>> >> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com
>> >81.128.209.62
>> >> >Path:
>> >>

>>
>>cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSF TNGXA05.phx.gbl!TK2MSFTNGP

0
>> 8
>> >> phx.gbl!TK2MSFTNGP09.phx.gbl
>> >> >Xref: cpmsftngxa06.phx.gbl
>> >> microsoft.public.dotnet.framework.aspnet.security: 7550
>> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>> >> >
>> >> >Yep, that throws an error!
>> >> >
>> >> >
>> >> >
>> >> >"Jim Cheshire [MSFT]" <> wrote in

message
>> >> >news:...
>> >> >> Dave,
>> >> >>
>> >> >> I would check to see if it's really parsing your web.config. Try
>> >adding
>> >> a
>> >> >> <foo> tag to your web.config and see if it throws an error.
>> >> >>
>> >> >> Jim Cheshire [MSFT]
>> >> >> Developer Support
>> >> >> ASP.NET
>> >> >>
>> >> >>
>> >> >> This post is provided as-is with no warranties and confers no

>rights.
>> >> >>
>> >> >>
>> >> >> --------------------
>> >> >> >From: "dave" <>
>> >> >> >References: <>
>> >> >> <ZN#>
>> >> >> >Subject: Re: RedirectFromLogin Goes Nowhere?
>> >> >> >Date: Tue, 11 Nov 2003 20:00:40 -0000
>> >> >> >Lines: 96
>> >> >> >X-Priority: 3
>> >> >> >X-MSMail-Priority: Normal
>> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >> >Message-ID: <#mAc$>
>> >> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>> >> >> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com
>> >> >81.128.209.62
>> >> >> >Path:

>cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
>> >> >> >Xref: cpmsftngxa06.phx.gbl
>> >> >> microsoft.public.dotnet.framework.aspnet.security: 7527
>> >> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>> >> >> >
>> >> >> >Thanks for that Jim
>> >> >> >
>> >> >> >You are right of course they should ordered differently, but
>> >> >unfortunately
>> >> >> >that did not make any difference...
>> >> >> >
>> >> >> >This all works fine on my local pc and server, but not on my ISP's
>> >> dotnet
>> >> >> >site (Fasthosts) - is there anything i can ask them that might be
>> >> causing
>> >> >> >this?
>> >> >> >
>> >> >> >Thanks again...
>> >> >> >
>> >> >> >Cheers
>> >> >> >
>> >> >> >Dave
>> >> >> >
>> >> >> >
>> >> >> >"Jim Cheshire [MSFT]" <> wrote in

>> message
>> >> >> >news:ZN%...
>> >> >> >> Dave,
>> >> >> >>
>> >> >> >> This web.config should work although you should reverse your

>> <allow>
>> >> >and
>> >> >> >> <deny> tags in the <authorization> element.
>> >> >> >>
>> >> >> >> Jim Cheshire [MSFT]
>> >> >> >> Developer Support
>> >> >> >> ASP.NET
>> >> >> >>
>> >> >> >>
>> >> >> >> This post is provided as-is with no warranties and confers no
>> >rights.
>> >> >> >>
>> >> >> >> --------------------
>> >> >> >> >From: "dave" <>
>> >> >> >> >Subject: RedirectFromLogin Goes Nowhere?
>> >> >> >> >Date: Tue, 11 Nov 2003 11:07:55 -0000
>> >> >> >> >Lines: 43
>> >> >> >> >X-Priority: 3
>> >> >> >> >X-MSMail-Priority: Normal
>> >> >> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>> >> >> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>> >> >> >> >Message-ID: <>
>> >> >> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>> >> >> >> >NNTP-Posting-Host: host81-128-209-62.in-addr.btopenworld.com
>> >> >> >81.128.209.62
>> >> >> >> >Path:
>> >cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP10.phx.gbl
>> >> >> >> >Xref: cpmsftngxa06.phx.gbl
>> >> >> >> microsoft.public.dotnet.framework.aspnet.security: 7513
>> >> >> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>> >> >> >> >
>> >> >> >> >Can anyone shed any light on the following:
>> >> >> >> >
>> >> >> >> >I have forms authentication setup within the web.config file

>(see
>> >> >below)
>> >> >> >> >which protects the entire website, which brings up the login

>page
>> -
>> >> >OK.
>> >> >> >> >
>> >> >> >> >However, even though I have been logged in and authenticated it

>is
>> >> >still
>> >> >> >> >returning to the login page. However if i log in again it will

>> try
>> >> to
>> >> >> go
>> >> >> >> >off to the originially specified location, but never seems to

>get
>> >> >there?
>> >> >> >> >
>> >> >> >> >If i then directly type in the original URL i tried in the very

>> 1st
>> >> >> place
>> >> >> >> it
>> >> >> >> >resolves fine, as i am now authenticated.
>> >> >> >> >
>> >> >> >> >This is extremely baffling - hope someone can help!
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >Web Config settings.
>> >> >> >> >
>> >> >> >> ><configuration>
>> >> >> >> ><system.web>
>> >> >> >> > <customErrors mode="Off"/>
>> >> >> >> > <pages smartNavigation="true"/>
>> >> >> >> > <compilation debug="true"/>
>> >> >> >> >
>> >> >> >> ><authentication mode="Forms" >
>> >> >> >> ><forms name="App1" path="/" loginUrl="login.aspx" >
>> >> >> >> > <credentials passwordFormat="Clear">
>> >> >> >> > <user name="tester" password="testing" />
>> >> >> >> > </credentials>
>> >> >> >> ></forms>
>> >> >> >> ></authentication>
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > <authorization>
>> >> >> >> > <allow users="tester"/>
>> >> >> >> > <deny users="?"/>
>> >> >> >> > </authorization>
>> >> >> >> ></system.web>
>> >> >> >> >
>> >> >> >> ></configuration>
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >

>>

>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RedirectFromLogin? HockeyFan ASP .Net Security 3 03-03-2006 05:41 PM
connection lost when computer goes to sleep =?Utf-8?B?REhhZ2x1bmQ=?= Wireless Networking 5 03-26-2005 07:10 PM
wireless connection lost when laptop goes standby =?Utf-8?B?Z2FiZQ==?= Wireless Networking 0 10-27-2004 08:31 PM
Network goes down when 2 PCs connected Bobby Wireless Networking 3 08-07-2004 08:19 PM
RedirectFromLogin Fails Mark Olbert ASP .Net 2 01-13-2004 12:15 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57