You are hereSupport Forums
Search:  
Module not staying hidden
Last Post 07 Dec 2009 08:52 PM by Rodney Joyce. 2 Replies.
AddThis - Bookmarking and Sharing ButtonPrinter Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
AuthorMessagesNot Resolved
Rodney Joyce
New Member
New Member
Posts:94

--
06 Dec 2009 09:51 PM  
Hi Richard,

I use this module extensively as "Tips" on all pages (I use it 3 times alone on this league page).
http://www.pokerdiy.com/poker-league/lid/241/rods-sydney-poker-league.aspx

The problem is that when a user clicks on HIDE it comes back after a while (I cant figure out when but a few days later it appears again).

If you imagine it from a users POV - this could be really annoying (depending on the content and how much screen space it is taking up).

I noticed of the 3 on the page - one of them DOES stay hidden - the only difference is that the 2 that reappear have 0 for "Page Views before auto hide (0=never): " and the one that stays hidden has a set number of increments.

Can you confirm how it is working technically? If you are logged out I would imagine it uses cookies, but if you are logged in does it store a record for that userID and each Welcome mod? This would be a lot less temperamental I think then relying on cookies.

My "Tips" take up a lot of space on the screen and if the user has to hide them every couple of days it's a really serious issue...

Thanks
Rodney
Richard Edwards
DNNStuff Founder
Veteran Member
Veteran Member
Posts:1148
Avatar

--
07 Dec 2009 08:55 AM  
Hi Rodney,

Here are technical specs on how it stores things:
1) For the normal hide function [Hide] it uses a session cookie so that if they return again in another session, it will show again.
2) For the permanent hide function, either through [KeepHidden], [KeepHiddenLink] or max views, it uses a normal cookie to store that. The key for the cookie is WelcomeViews + ModuleId + UserId

I did notice that the cookie expires in 1 year. I'm not sure why I picked that expiry, but I could definitely extend it or add it as an option.

The other thing that might be happening, is that the domain cookie max for the browser has been hit and it's dropping cookies, thus effectively resetting to a fresh one. The domain max is different for various browsers and I think some have increased it but it's generally been around 20.

I checked the home page for pokerdiy.com and I have 16 domain cookies now. Currently, each Aggregator also uses a cookie to track the selected tab so perhaps the combination of Agg and Welcome are pushing some people over 20 domain cookies. I have had it on my list for a while to combine all Aggregator cookie info into a single cookie but it was always pretty low priority. I'll have to take another look at that soon and see if it's possible to do the combining.

Please let me know if the cookie issue is the cause of your troubles.



Richard Edwards
DNNStuff Founder
Did you receive excellent support? Consider leaving a testimonial
Rodney Joyce
New Member
New Member
Posts:94

--
07 Dec 2009 08:52 PM  
Hi Richard,

Hmmm - I suspect my cookies are not working properly - I always have issues with DNN with users getting logged out etc.

I would appreciate it if you could optimize this area please.

Thanks
You are not authorized to post a reply.

Active Forums 4.1
Privacy StatementTerms Of UseCopyright (c) 2004-2012 DNNStuff