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
2/23/2006 10:19 PM
 

Hi Scott,

Glad to hear the parent portal cured your problem too.  This is an obvious bug that should be mentioned in the installation instructions in red 'DO NOT USE CHILD PORTALS'.  I wasted lots of hours troubleshooting that one.  As far as a DB tweak to move the users to the new portal, I do not know.  I just recreated my users as there were only 5. 

The username issue also seems to be a bug.  I have one user from the old portal that could not be created on the new portal as well.  The other four worked and have duplicate names on both portals, but with this one user it would not let me reuse his username.  This is very odd also.

Good Luck,

Aaron 

 
New Post
2/24/2006 11:18 AM
 

Hi Ion,

I'm far from an expert as you can see from my posts, however I believe that the difference between a child and a parent is how you setup the alias...yourdomain.com/child vs. child.yourdomain.com with the latter being a parent portal alias.

Now, I didn't get a chance to check before I had messed around with the DB tables and decided that it would be better to just use a fresh install, but someone was saying that you can change the alias that you use to access the site as a child to a parent. So under portals->yourportal you would add child.yourdomain.com and then remove the yourdomain.com/child aliases that are there. This of course means that you have to have your dns setup to understand where child.yourdomain.com is suppose to be sent too. I use No-IP.com and was able to use the management system they have to direct my main dns name and the child to the same IP. This might prevent you from having to completely rebuild. Now, having said that be sure that you create a site template before you mess around to much so that you can for the most part recreate the site from scratch if you need too. I always copy out the website directory to a archive directory so that I can recover anything that doesn't move, and I completely wipe the website directory for a fresh install. You will have to reinstall all the modules that you used BEFORE you recreate the site using the template or you will have alot of holes ( missing modules are just not installed from the template)

Good luck

 
New Post
3/1/2006 7:32 AM
 

Update: I applied the 3.2.2 update to the portal and the "Un-Authenticate" issue has been resolved for us.

DotNetNuke ROCKS!

 
New Post
3/20/2006 2:46 PM
 
Thanks for your reply.

Turns out, my portal is not a child portal, so that's not the problem.

I did a bunch more searching and found this, *which solved my problem*, but I have no idea why.

http://forums.asp.net/1037419/ShowPost.aspx

My (limited) understanding of this fix is:  if you set a session variable, it causes IIS (or whatever framework your hosting provider is using to distribute load or provide failover or proxying or whatever) to behave differently.  It does this by either a) ensuring that the rest of that browser session stays on the same server, or b) activating whatever mechanism your hosting provider has to preserve session state across multiple web servers.

Why does this help what appears to be a cookie problem?

In the case of a), it would (presumably...I'm just guessing here) help because DNN login authetication works by setting a cookie on your browser that is based on the Ethernet MAC address of your server.  If during a session in which you are logged in, you suddenly are connecting to a different server, with a different MAC address, your cookie is no longer any good.  So setting a session var doesn't actually change cookie behavior (on the client or server side), but it has the happy side-effect of forcing a browser's entire visit to the site to take place on the same server.  If you have set a long login expiration period in DNN, it might be limited if your hosting provider sets a lower default value for IIS session lenght.  Check MSDN, there is a way to add a line to default.aspx that would override this hosting provider setting and make it equal to your DNN setting.  It's a workaround.

In the case of b), presumably the hosting provider has configured all the servers in the farm to use the same "virtual" Ethernet MAC address?

Your Mileage May Vary.

The ultimate solution might, in the worst case, require DNN use something besides the server MAC address as the basis for creating the authentication cookie.  Which probably isn't straightforward....
 
New Post
3/20/2006 6:39 PM
 

Ionearth,

Thanks for your insight.

It seems that http://forums.asp.net/1037419/ShowPost.aspx is suggesting that the solution is to change our hoster from Brinkster to WH4L.  Is this the solution that you found?

After changing to WH4L, do we still have to do this?:  "Check MSDN, there is a way to add a line to default.aspx that would override this hosting provider setting and make it equal to your DNN setting.  It's a workaround."

That sounds very complicated.  This sounds like it has to be done perfectly otherwise new bugs will be introduced (as new bugs always seem to be created).  What is the login expiration period set to in DNN?  What do we search for on MSDN?  I searched for "login expiration default.aspx" in MSDN and none of the hits seem related to our problem.

Nevertheless, thanks for your suggestions.

 
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