pavanpuligandla
2010-05-14T04:00:05Z
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
2010-05-15T06:47:33Z
Hi guys..
any help please...i've tried it out myself but no luck yet..

Thanks.
logan
  •  logan
  • 100% (Exalted)
  • YAF Leader
2010-05-15T16:15:31Z
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.developmentno...achinekey_generator.aspx 

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

</system.web>

test
pavanpuligandla
2010-05-17T06:08:43Z
logan wrote:

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.developmentno...achinekey_generator.aspx 

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

</system.web>



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..

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved