Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Help! Users "randomly" getting logged out
Previous Previous
 
Next Next
New Post 4/5/2006 2:32 PM
User is offline Sander Pool
23 posts
10th Ranked


Re: Help! Users "randomly" getting logged out 
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 1:22 PM
User is offline Curt Curt
12 posts
10th Ranked


Re: Help! Users "randomly" getting logged out 

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/7/2006 10:33 PM
User is offline Jay Mathis
17 posts
10th Ranked




Re: Help! Users "randomly" getting logged out 
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 11:28 AM
User is offline Curt Curt
12 posts
10th Ranked


Re: Help! Users "randomly" getting logged out 

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 4:02 PM
User is offline cathal connolly
2526 posts
www.cathal.co.uk
5th Ranked










Re: Help! Users "randomly" getting logged out 

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

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Help! Users "randomly" getting logged out
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com
DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk
Personify Design, Inc.
Seattle-based Personify Design has developed customized DotNetNuke websites for a wide range of customers to meet many different types of needs, including distributed authorship across thousands of pages to integrated Verisign e-commerce capabilities.
www.personifydesign.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP