Curt00,
Sorry if my answer was confusing. I wrote it with a mind towards experienced DNN users who are trying to isolate and troubleshoot this complex problem. But for newer DNN users, here is my suggestion in plain language.
I have been experiencing this very problem (losing authentication for no apparent reason) running DNN 4.0.2 on Brinkster. Following the steps below solved the problem for me, I didn't have to move to any other hosting provider.
Note that this is a suggestion as in "try this, it may work, or not, but it can't really hurt you much"
The file default.aspx is in your "home" directory, that is the one to which you installed DNN in the first place. On most Microsoft web servers, the file would be at c:\Inetpub\wwwroot\website\default.aspx. Your server, or your hosting provider's server, might be set up a little differently. If you need help locating default.aspx, ask your hosting provider, or search the Install It! forum, or create a new posting (aka thread) under Install It! Don't use this thread.
Once you've located default.aspx, you need to add a line to it. So first make a copy of default.aspx (call it default.save.aspx or something), just in case.
Next, edit default.aspx and add the following line between line 2 and 3:
<% Session("KeepAlive") = DateTime.Now %>
There shouldn't be any blank lines above or below this one line you've inserted.
Now save the changes and, if applicable, upload the file back to your server. That's it.
Now log in to your DNN site and edit modules, move modules around, etc. and see if you get kicked out or not.
- If you don't get kicked out, huzzah! Problem solved.
- Or, it may make the problem happen less often, but not completely solve it. You can try all of the other suggestions posted here and elsewhere
- But, it may not solve the problem for you. It depends on your circumstances, and in fact, as you may have gathered from reading this and other posts, the community still isn't entirely sure exactly what circumstances are needed to cause the "losing authentication" problem!
- It can't hurt much to keep the line you've inserted into default.aspx. But if you get a ton of traffic to your site, you may want to take it out as it will cause a minor decrease in performance on a busy DNN site or a busy hosting environment.
Good luck!