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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Help! Users "randomly" getting logged outHelp! Users "randomly" getting logged out
Previous
 
Next
New Post
4/5/2006 5:32 PM
 
I have a DNN 3.2.2 site ( http://www.tungstentech.com ) which also shows this annoying behavior. It seems to have started when I added a user defined table. I'd do an update and poof, I have to log in again. This is one of two portals on the server but they're both independent installs although they share the same database (different prefixes). Just now I was logged on as 'host' and still got logged out. Same happened as 'admin'. I haven't checked with my wife who belongs to a different group to see if she's had to log back in.

It appears to happen when an 'expensive' operation is performed that takes a while to satisfy by the server. I use Firefox 1.5.

I think this is a bit more than an annoying problem. It doesn't really give a user a lot of confidence in the quality of a system when it's not even remembering who the current user is. I would not want to deploy portal and have people pay me for it with this issue. Thankfully this is just for myself but it's embarassing when I'm trying to update my custom table with my wife next to me and it keeps timing out and asking me to log in again :)

I wonder if this should be logged as a defect?
 
New Post
4/7/2006 4:22 PM
 

Hi Cathal and rickla1:

My problem is similar but it doesn't seem to be the exact same as what others are experiencing.  I posted this on http://forums.asp.net/thread/1249489.aspx:

I'm having a similar problem, however I don't believe it's related to sessions.

I just experienced this problem with DNN 4.0.2 on WH4L (WebHost4Life) as well.  I've now had this problem on 4 hosters.

Like others, I'm having problems with getting logged out of the child portals.  However, this problem happens intermittently and when it happens, I get logged out only after I go to any of the following:

- Settings page for any module

- Edit User Account page

- Register page (the page I get when I click on my username)

- Page Management page (the page after clicking on "Add", "Settings", "Copy" in Page Functions)

after going to any of the above, then clicking on any other link will log me out.  (Also, the "update" link on the above pages do not work during these intermittent times.  An "error on page" message appears on the bottom bar of the browser.)

(there might be other places I haven't found yet that causes the log out)

If I don't go to those places, such as going to different tab pages or Preview (under Page Functions), I will not get logged out.  I can edit the text in the Text/HTML module and I will not get logged out.  Therefore, my session is still active.

This just happened at http://aspdotnetnukehost.com .  This is a barebone DNN 4.0.2 site that websecurestores.com (hoster) set up for demo purposes.  We did not add any modules.  I created a "test" child portal:  http://aspdotnetnukehost.com/test and without adding any of the DNN modules to what's already there (based on personal template), I experienced the problem.  You can log in:

username:  test
password:  test

Because of this problem happening with this barebone portal, I'm surprised that I haven't come across anybody else's posting that mentions this problem.

This intermittent problem happens even when there is NOT an application stop and start.

Therefore, I don't believe this problem is caused by any hoster.  I think it's got to be with DNN.

Does anybody know what is causing this problem?

This is incredibly frustrating as I've spent 2 weeks on this, going from hoster to hoster and scouring the forums.  This problem would render DNN to be useless for child portals.

I've also tried this with 2 PCs, so I don't think the problem is caused by my PC settings.

Unfortunately, both PCs are running Windows XP with IE 6.

I've had two people from different building locations access those sites, and they got the same result/problem.

You can also see this for yourself at:

http://site343.mysite4now.com/curt/dnn/test

username:  test
password:  test

 
New Post
4/8/2006 1:33 AM
 
I remember tracing through the security code for a similar problem I was experiencing and found something where the code was checking permissions on the parent level portal when it should have been on the child level portal.  For my specific issue, I belive the bug was fixed in one of the recent versions, however, perhaps a similar issue exists that could be causing this logout problem.

It might be worth tracing through the code execution if you can find a repeatable sequence of action.


 
New Post
4/8/2006 2:28 PM
 

mathisjay,

Thanks for the posting.  Unfortunately, I'm not knowledgeable enough to trace the code execution.  Is it difficult?  Can you start me the right direction?

 
New Post
4/10/2006 7:02 PM
 

Curt00,

thanks for the login to your test site. I was able to trace an entire session via a http proxy, and see that the dotnetnuke cookie is "lost" immeadiately after a request for webresource.axd. This file in the asp.net 2.0 way of serving up the client javascript that the asp.net validatiors use (which is why only the pages that use valiators are causing you to log out). I did a quick google for issues with this, and a number of reports of clashe's with http compression come up. If you're using the blowery compression module then you may have to exclude it in the configuration file

see http://www.ventrian.com/tabid/213/articleType/ArticleView/articleId/46/Enabling-HTTP-Compression-for-DotNetNuke.aspx and http://www.dotnetnuke.com/DotNetNukeProjects/UtilityCompression/tabid/828/forumid/67/threadid/11086/scope/posts/Default.aspx for more details.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Help! Users "randomly" getting logged outHelp! Users "randomly" getting logged out


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