Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms Authentication
Message
De
13/09/2016 09:52:41
 
 
À
12/09/2016 12:37:33
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
Divers
Thread ID:
01640720
Message ID:
01640756
Vues:
43
>>Hi,
>>
>>GoDaddy are telling me that this part of my web.config is causing my end users to hav eto log back in every 6 minutes:
>>
>>
    <authentication mode="Forms">
>>      <forms loginUrl="~/Account/Login.aspx" slidingExpiration="true" timeout="120"/>
>>    </authentication>
>>
>>Can anybody see any problem with this?
>
>Doesn't make sense to me. timeout is in minutes so you've got a couple of hours there.
>Is this a shared server? If so I read somewhere that the machinekey may be regenerated at the server level which would leave you high and dry.
>Can't find the detail but this refers : http://blog.falafel.com/asp-net-forms-authentication-times-out-on-a-shared-host/

Hi Viv,

I followed through from the link you gave me and found this link showing how to generate a machine key: https://support.microsoft.com/en-us/kb/312906

I followed that and put the generated key in my web.config and recycled the app pool but it's still forcing me to log back in after 6 minutes.

I would appreciate any advice on how to try resolving this.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform