YAFLogo

Posted by: jpweber - Wednesday, 17 October 2012 20:00:01
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): [h] [/h] to the below, which I generated using IIS7 [h] [/h] 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

Posted by: jpweber - Thursday, 18 October 2012 00:37:39
I believe I solved the issue. Instead of letting IIS7 generate my machine keys, I used this: [url=http://aspnetresources.com/tools/machineKey]http://aspnetresources.com/tools/machineKey[/url] 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

Posted by: squirrel - Thursday, 18 October 2012 05:20:44
[quote=jpweber;56586]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): [h] [/h] to the below, which I generated using IIS7 [h] [/h] 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[/quote] 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 --

Posted by: jpweber - Thursday, 18 October 2012 08:07:58
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