YAFLogo

jpweber
  • jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
12 years ago
Thanks to Squirrel for solving my previous issue. Be careful adding BBCodes!

From a post 6 months ago, I read it and Squirrel explained that uncommenting the machine key and inserting your own machine key can increase your time out.

But whenever I change (I put in different numbers and letters, but you get the idea):

to the below, which I generated using IIS7

validationKey="3U0902EDFFD6542HBGE4DB52DDKLJKLJL56435JKDLJKL7UB46EF52663F4GHF29"

decryptionKey="5JFGS8908HSG8CD8CA6D17E478D19DJGKJH534G4HJGK7G,IsolateApps"

validation="SHA1" decryption="AES">

I'm essentially uncommenting the machine key, correct? Whenever I do that, I it gives me all kinds of wild errors.

Does anybody know what I'm doing wrong?

Thanks!

Jason Weber


Jason Weber

USS Vision YAF 

"Money is better than poverty, if only for financial reasons"

Sponsor
jpweber
  • jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
12 years ago
I believe I solved the issue. Instead of letting IIS7 generate my machine keys, I used this:

http://aspnetresources.com/tools/machineKey 

which generated a machine key for me, and things seem to be better, and I think this issue is solved. I kept the machine key uncommented.

Jason Weber


Jason Weber

USS Vision YAF 

"Money is better than poverty, if only for financial reasons"

squirrel
12 years ago

Thanks to Squirrel for solving my previous issue. Be careful adding BBCodes!

From a post 6 months ago, I read it and Squirrel explained that uncommenting the machine key and inserting your own machine key can increase your time out.

But whenever I change (I put in different numbers and letters, but you get the idea):

to the below, which I generated using IIS7

validationKey="3U0902EDFFD6542HBGE4DB52DDKLJKLJL56435JKDLJKL7UB46EF52663F4GHF29"

decryptionKey="5JFGS8908HSG8CD8CA6D17E478D19DJGKJH534G4HJGK7G,IsolateApps"

validation="SHA1" decryption="AES">

I'm essentially uncommenting the machine key, correct? Whenever I do that, I it gives me all kinds of wild errors.

Does anybody know what I'm doing wrong?

Thanks!

Jason Weber

Originally Posted by: jpweber 

Prior to notifying you earlier, I had already configured you a fresh set of machine keys and installed them in your web.config - with those, and I also set the cookies to use a slidingExpiration - so instead of the cookie only lasting x number of days, so long as the user visits the forum (already logged in) the cookie will re-update and re-extend for the cookie lifetime determined in that same config line. If you're still having quirks with this, let me know and I'll double check the web.config --


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
jpweber
  • jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
12 years ago
No quirks, Squirrel -- Earlier, it was logging me out after the 20 minutes idle thing, but I've been logged in for 6 or 7 hours now, went out and got dinner, came back, so sessions last a long time now. Works perfectly -- I'm now in the process of improving the aesthetics and really organizing the forum. When it's completely finished, sometime perhaps this weekend, I'll post a link to my YAF in the New YAF Forums category.

Thanks again for all your help!

Jason


Jason Weber

USS Vision YAF 

"Money is better than poverty, if only for financial reasons"