LogOut with Multiple users

Hello I have created two users on my development platform one admin and one a general user.

When I login using the 'general user' and go to a page that the admin has used, the system thinks the admin user is logged in. It is the same in reverse. 

I make sure I log out each time when I switch users but it does not clear the cache or cookies or whatever files it should clear when a user logs out.

Attached are two files (dean.jpg and admin.jpg) one showing the user dean logged into the home page and then I pressed the 'People' menu open and it shows the admin user logged in.  

dean.jpg · 383.5K · 274 views
admin.jpg · 295.1K · 300 views
Quote · 10 Dec 2013

try using different browser to test this. But the refresh of users logged out takes some time. sometimes up to 1 min.

Quote · 10 Dec 2013

You appear to be forcing some kind of weird redirect.

Dolphin is installed in a sub directory of a .net domain, yet your forcing the url to be .com. You have either messed with the .htaccess file to force this or messed with dolphin itself.

The hosting end of your site is not properly setup so i think it is wreaking havoc with the browser cookies. When i testing your site i had to refresh the browser several times between pages to for it to tell i was logged in.

The pointing of your domain name on the hosting side has not been done properly. And i am betting that is what is causing the problem.

https://www.deanbassett.com
Quote · 10 Dec 2013

Thank you for the input and testing.

Yes I have a domain redirect in place. I have my test domain on www.geospatialconnect.net/dolph and the domain redirection points www.geospatialconnect.com to this test platform until we can transfer the domain across.

The same issues are still happening on test domain when I access it directly.

I am using HostUpon to host the platform, as recommended by Boonex and just used their automatic Dolphin installer.

Is there a better host that I should be using? And is there a way to check if the install has been done correctly?

Quote · 11 Dec 2013

 

Thank you for the input and testing.

Yes I have a domain redirect in place. I have my test domain on www.geospatialconnect.net/dolph and the domain redirection points www.geospatialconnect.com to this test platform until we can transfer the domain across.

The same issues are still happening on test domain when I access it directly.

I am using HostUpon to host the platform, as recommended by Boonex and just used their automatic Dolphin installer.

Is there a better host that I should be using? And is there a way to check if the install has been done correctly?

 
There are better hosts. Like zarconia.net. Also mentioned in this topic you posted in as well. http://www.boonex.com/forums/topic/Migrate-to-new-host.htm

Anyhow, i am assuming you have dolphin itself configured to use www.geospatialconnect.net/dolph in inc/header.inc.php

Seems odd if it is configured that way why dolphin is not redirecting to that when you access the .com address. So i am guessing it is not.

Dolphin should not be forwarded, so it may be the cause. Or if dolphin is is configured to use the .com domain in inc/header.inc instead of it's actual install url of www.geospatialconnect.net/dolph then that also could be the issue.

But there is also another posibility. .htaccess files from other software can interfere with each other. When doing multiple  sites on a single server it is best to have them each in their own sub folder off of public_html. The reason is .htaccess files in sub folders of public_html can inherit settings from the root one that is in public_html. By not using public_html as the root for any site and put the sites in sub folders instead does a better job at isolating them. Doing that requires the host to point the domain to the proper folder. You should not use a redirection service for this. That pointing should be done by the host the proper way.

Anyway. i am guessing i am most likely just confusing you.

https://www.deanbassett.com
Quote · 12 Dec 2013

Thanks again deano. Yes a little confusing but I think I am getting my head around it. I will migrate my main domain shortly and hopefully that will sort out the issues.

Quote · 12 Dec 2013

I did have another platform (ELGG) being testing from the root domain (www.geospatialconnect.net) but even through most of the modules were free it was very insecure. I remove that installation this morning, so maybe it was the issue. 

There is a .htaccess in the public_html directory which has the following entries

RewriteEngine on

RewriteCond %{HTTP_HOST} ^geospatialconnect\.net$ [OR]

RewriteCond %{HTTP_HOST} ^www\.geospatialconnect\.net$

RewriteRule ^/?$ "http\:\/\/www\.geospatialconnect\.net\/dolph" [R=302,L]

 

Plus there is one in the dolph directory as well. I won't list here as it is very long. I checked the other things and they all seem to be pointing to the .net/dolph directory. I have turned off the redirect with masking from my .com domain and will see if that makes any changes as well.

Cheers

Dean

Quote · 12 Dec 2013

 

I did have another platform (ELGG) being testing from the root domain (www.geospatialconnect.net) but even through most of the modules were free it was very insecure. I remove that installation this morning, so maybe it was the issue. 

There is a .htaccess in the public_html directory which has the following entries

RewriteEngine on

RewriteCond %{HTTP_HOST} ^geospatialconnect\.net$ [OR]

RewriteCond %{HTTP_HOST} ^www\.geospatialconnect\.net$

RewriteRule ^/?$ "http\:\/\/www\.geospatialconnect\.net\/dolph" [R=302,L]

 

Plus there is one in the dolph directory as well. I won't list here as it is very long. I checked the other things and they all seem to be pointing to the .net/dolph directory. I have turned off the redirect with masking from my .com domain and will see if that makes any changes as well.

Cheers

Dean

 
If your not going to be using elgg anymore, then get rid of that .htaccess file in the public_html folder.


https://www.deanbassett.com
Quote · 12 Dec 2013

 

am using HostUpon to host the platform, as recommended by Boonex and just used their automatic Dolphin installer.

I and others have complained about the recommended hosting list that Boonex has in place. 

Geeks, making the world a better place
Quote · 12 Dec 2013

You are a champion deano. That has solved the problem. Laughing

Quote · 12 Dec 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.