Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 3.2 Losing Forms Authentication A Lot DNN 3.2 Losing Forms Authentication A Lot
Previous
 
Next
New Post
3/20/2006 8:15 PM
 

smobley,

I don't use No-IP.com.  Where and how does one normally set up the DNS to point to portal.domain.com ?

Would we have to do this setting process for every portal (portal2.domain.com, portal3.domain.com, etc.) we create?

 
New Post
3/21/2006 10:35 AM
 

Hi Curt00,

I am in no way a DNS expert, but I believe you can set up a global type alias that redirects all hits to the parent address.

So if your domain was MyDomain.com, you could have all 1.MyDomain.com, 2.MyDomain.com, *.MyDomain.com redirected to the base MyDomain.com and then the host header would be able to sort it all out.

Perhaps someone more famillar with this can make a comment on what kind of DNS record would be needed here...

Scott

 
New Post
3/21/2006 2:06 PM
 

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!

 
New Post
3/27/2006 4:51 PM
 

ionearth,

I added <% Session("KeepAlive") = DateTime.Now %> to my default.aspx (Sorry for making you explain where to find default.aspx as I already knew).  Unfortunately, this didn't change anything.

I don't think the problem is related to the session times.  I get kicked out after I do certain things:

  • The Admin tries to change "Settings" for a module, such as the Text/HTML module.  After the Settings page comes up, if I click on any other link, I will get logged out.  The exception is the "Update" link, which does nothing except show a "Error on page" on the browser bottom status bar.
  • Admin clicks on "Add page".   After the Add Page comes up, if I click on any other link, I will get logged out.
  • Admin tries to add a new thread to the Forum.

This is very frustrating because this problem renders my DNN site useless if my users (Portal Admins) cannot do these basic things.

 
New Post
5/27/2007 8:17 AM
 

Bizarre. It is now May 27, 2007 and I get the exact same behavior.

 

I'm running DNN 4.0.3, and an admin for a child portal gets logged out after the actions described (add page etc.).

 


 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 3.2 Losing Forms Authentication A Lot DNN 3.2 Losing Forms Authentication A Lot


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out