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 ...Users being logged out when on portal aliasUsers being logged out when on portal alias
Previous
 
Next
New Post
1/28/2010 8:39 AM
 

I am wondering if someone can help me...We have a website www.mysite.com and an alias (http://subsite.mysite.com) set up  in the Admin > Site Settings. The linking structure goes back and forth between both the sites on text / image links and if they log into www.mysite.com and click on an image that brings it to http://subsite.mysite.com it logs the user out and they have to relog in on that site. Is there someway to keep them logged in on both? Has anyone come across this, what suggestions do you have. Thank you.

 
New Post
1/28/2010 10:24 AM
 

It sounds you may be confusing a portal alias with a child portal.  Since they are two different sites, they have two different user accounts.  If you really do have an alias for the site with a  different hostname, why?

Jeff

 
New Post
1/28/2010 10:28 AM
 

It is a portal alias. We have two different domains that we want pointed to that one site. But since it was developed on www.mysite.com and some people type in http://subsite.mysite.com to get to it. So when they login on the subsite some of the links on the site bring them to www.mysite.com and they get logged out and have to login again.

 
New Post
1/28/2010 1:26 PM
 

So what you really want is not a portal alias but a redirect to the www host so they never are logged into subsite as a host, right?  You might even be able to handle this with the Friendly URL provider.

Jeff

 
New Post
1/28/2010 10:34 PM
 

Steph - not sure if this has been explained to you, but the authentication works against the domain name.  The authentication works (in part) by placing a cookie onto your computer.  The cookie is prefixed with the full domain name.  So when you login with subsite.mysite.com, the cookie is for subsite.mysite.com.  If you then switch to www.mysite.com, the cookie for www.mysite.com doesn't exist, so it looks like you're logged out.  That''s not quite true - you're just logged into subsite.mysite.com and not www.mysite.com.

The solution to your problem is to stop people logging in on subsite.mysite.com - this is best achieved by putting in a 301 redirect for all subsite.* urls to redirect to www.* Urls.  This way all users will only ever log onto the correct version of the site.

Incidentally, having your site available on two different domain names can create duplicate content in search engines and effect your rankings.  So redirecting to a single subdomain will improve this as well.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Users being logged out when on portal aliasUsers being logged out when on portal alias


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