• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Mark H
#1 Posted : Thursday, June 11, 2009 12:03:32 AM(UTC)
Mark H

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.
Marcus
#2 Posted : Thursday, June 11, 2009 7:42:05 AM(UTC)
Marcus

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

Create a robots.txt file with these lines:

Code:

User-agent: *
Disallow: *.axd
Mark H
#3 Posted : Thursday, June 11, 2009 9:28:52 AM(UTC)
Mark H

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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012