sessions. The authentication page (login.aspx) is not coming up at all.
in the page load event.
I have tried changing the directory security settings, but no luck. I have
"Joseph Bittman MCAD" wrote:
> July 13, 2005
>
> I think you are wanting to persist authentication across Multiple
> browser sessions? And your custom auth code is expecting the user to still
> be auth? That isn't a good practice to assume something, but I think you are
> wanting a way to persist auth..... in your forms code I think you are using
> something like:
>
> formsauthentication.redirectfromlogonpage("USERNAME",BOOLEAN)
>
> The BOOLEAN variable specifies whether to persist the auth cookie across
> Multiple browser sessions, which is what I think you want.... HTH :-)
>
> --
> Joseph Bittman
> Microsoft Certified Application Developer
>
> Web Site:
http://71.39.42.23 > Static IP
>
>
>
>
> "Ben" <Ben@discussions.microsoft.com> wrote in message
> news:123E1FC8-BCB2-40BF-B50A-7B4F61CBD012@microsoft.com...
> > Hi,
> >
> > I am currently developing a web site that will use "Forms" authentication.
> > I
> > am having an issue in which the "Forms" authetication works only one time.
> > Any other session after that are redirected to the web forms that require
> > authentication, which results in an error, because the page is expecting
> > the
> > user to be logged in.
> >
> > Here are my web.config settings:
> >
> > <authentication mode="Forms">
> > <forms name="appNameAuth" path="/" loginUrl="Login.aspx" protection="All"
> > timeout="60"/>
> > </authentication>
> >
> > (Page that requires authentication)
> > <location path="~/AuthReq/Address.aspx">
> > <system.web>
> > <authorization>
> > <deny users="?" />
> > </authorization>
> > </system.web>
> > </location>
> >
> > Thanks for your help
> >
> > Ben
> >
>
>