Rank: Member
Joined: 12/19/2006(UTC) Posts: 153
|
Our site is hosted on a shared server and we see frequent errors related to expired sessions, as well as frequent errors ('padding is invalid and cannot be removed') from bot visits to expired pages.
Doing research, I've found a couple tips, but wanted to get feedback on possible implications before implementing.
The first is adding a machinekey tag to web.config with hardcoded keys to help resolve some of the session errors. The second is dissalowing bots from, .axd pages. I know these are trying to resolve two seperate issues, but i'm just trying to address all changes in one post. Thanks for any feedback.
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
This page will generate a machine key for your web.config: http://www.eggheadcafe.com/arti.../GenerateMachineKey.aspxCreate a robots.txt file with these lines: Code: User-agent: * Disallow: *.axd
|
|
|
|
Rank: Member
Joined: 12/19/2006(UTC) Posts: 153
|
Thanks Marcus, That is exactly the code I was planning to use! much appreciated.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.