YAFLogo

pavanpuligandla
15 years ago
Hi all,

I'm using YAF forum version 1.9.3, Everything is working fine for me..

But when i logs into the forum after giving username and password and if i leave the site idle for 3-4 minutes. It is logging me out and redirecting to Login page.Why is this happening so?

I even changed session timeout for forms authentaction section web.config file, even though there is no luck..

can anyone please help me out about this issue??

Awaiting your responses.

Thanks,

PAvaN

Sponsor
pavanpuligandla
15 years ago
Hi guys..

any help please...i've tried it out myself but no luck yet..

Thanks.

logan
  • logan
  • 100% (Exalted)
  • YAF Leader
15 years ago
Try adding a machine key. Sounds like your app is getting recycled

Are there any event log errors?? ie. ViewstateMAC Failed

3-4 minutes is very low, but depends on your hosting Co.

Get a random key here: Don't use the sample below

http://www.developmentnow.com/articles/machinekey_generator.aspx 

<system.web>
<machineKey 
validationKey="5B169A4270DB7D6A285CF068B81047D1A73A5FDDE9B204254AB86147B061C3C13DB6E84311E98EDFDD7FF50309DB9632A1C573A716CF120535EC3401BF7706D7"
decryptionKey="910403AE3DEB5DD0AF73911DBB180518144AC983C1C7E7BDEE1CC8B6C74CBEF3"
validation="SHA1" decryption="AES"
/>

</system.web>

test
pavanpuligandla
15 years ago

Try adding a machine key. Sounds like your app is getting recycled

Are there any event log errors?? ie. ViewstateMAC Failed

3-4 minutes is very low, but depends on your hosting Co.

Get a random key here: Don't use the sample below

http://www.developmentnow.com/articles/machinekey_generator.aspx 

<system.web>
<machineKey 
validationKey="5B169A4270DB7D6A285CF068B81047D1A73A5FDDE9B204254AB86147B061C3C13DB6E84311E98EDFDD7FF50309DB9632A1C573A716CF120535EC3401BF7706D7"
decryptionKey="910403AE3DEB5DD0AF73911DBB180518144AC983C1C7E7BDEE1CC8B6C74CBEF3"
validation="SHA1" decryption="AES"
/>

</system.web>

logan wrote:

Hi logan,

Many Thanks for your help, after reading about machine key i understood that and now there is no problem with forum viewstate.

Thanks alot..