09-27-04 10:52 PM
mquian@online.microsoft.com (Maria Quian [MSFT]) wrote in message news:<iQHZFdzoEHA.3468
@cpmsftngxa06.phx.gbl>...
> Thank you for using Microsoft Newsgroups.
>
> See the product documentation section titled Commerce Server 2002 >
> Developer's Guide > Programmer's Reference > .NET Class Reference >
> Microsoft .CommerceServer.RunTime > AuthManager Class (BCL) > AuthManager
> Methods (BCL) > AuthManager.SetAuthTicket (String, Boolean, Int32) Method
> (BCL).
>
> The setting for timewindow parameter will determine how long the user is
> logged. There are other factor such as the timewindow in which the filter
> checks whether it is a valid user.
>
> This information is valid if you are using AuthFilter/either custom or
> windows authentication which looks like you do from the code included in
> the posting. You can increase the time "
> authInfo.SetAuthTicket(userId, true, 20);" from 20 to a higher number and
> test. The default is 90, do you know why it was set to 20?
>
> Maria Quian
> Microsoft Technical Support
>
> This posting is provided "AS IS" with no warranties, and confers no rights
.
> You assume all risk for your use. © 2002 Microsoft Corporation. All rights
> reserved.
> --
Hi Again
I have already looked in the documentation and tried to set the
timewindow down to 1 min. - but as mentioned earlyer it dosent seem to
have any affect on the application.
we are using Form authentication:
(from web.config)
<authentication mode="Forms" >
<forms loginUrl="AuthFiles/Login.aspx"/>
</authentication>
I am not sure if we use AuthFilter
I dont no why i was changed from 90 to 20
we use this to determine if a user is authenticated:
System.Web.HttpContext.Current.User
[ Post a follow-up to this message ]
|