Adding new pages forces log out & admin bar to disappear

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/30/2012 8:47:14 AM
Gravatar
Total Posts 2

Adding new pages forces log out & admin bar to disappear

Hi guys,

Hopefully one of you geniuses can help me out with a problem I seem to be having on one of our mojoportal installs.

When adding a new page to the site it seems to work fine and it does indeed add the page to the site yet when I try to go to add modules to the page it looks as though it is logging me out which in turn the admin panel at the bottom disappears.

I have managed to add modules to the page by going into the add / edit pages part away from the page when I am logged in from the main page and it does add the modules i.e login module which is needed for this page, yet nothing works within it.

I was just wondering if any of you guys have come across this issue and whether or not it might be a buggy upgrade as we have recently just upgraded the site.

My settings are as follows for the site

Version of Mojoportal : 2.3.8.5 MSSQL

​Running in Partial Trust

​Operating system : Microsoft Windows NT 6.0.6002 Service pack 2

 

Thanks guys

Jason

5/30/2012 2:39:06 PM
Gravatar
Total Posts 18439

Re: Adding new pages forces log out & admin bar to disappear

Hi Jason,

If your site has an SSL certificate and you have things configured as recommended in the article Use SSL, then if you somehow get redirected out of SSL (ie to an url using http instead of https), then your cookies will not be passed in the insecure request (to protect them form possible cookie theft), so in this case it can appear that your are logged out because on insecure requests the authentication and role cookies are not passed in the request headers. However mojoPortal is designed to try to keep you in SSL once you have established a secure connection, so if that is what is happening I'm not sure what is redirecting you out of SSL.

You may also need to check in page settings to make sure you have not enabled browser caching of the page, the browser could be caching the version of the page without the toolbar when you are not authenticated.

Hope that helps,

Joe

5/31/2012 4:44:01 AM
Gravatar
Total Posts 2

Re: Adding new pages forces log out & admin bar to disappear

Hi Joe

Thank you for that, appreciate your time.

We don't have SSL running, nor is the page set to cache. On the 'portal' page on the site, we've added a sign in module to the page and when we land on that page as a signed in user, the entire admin side disappears and the sign in box asks us to sign in. When I navigate to the next page on the site (without loggin in again) the admin bar and settings links etc appear as normal.

This happens when we create any new pages.

Thanks

Mark (working on Jay's behalf)

5/31/2012 9:47:10 AM
Gravatar
Total Posts 18439

Re: Adding new pages forces log out & admin bar to disappear

Sorry but I cannot reproduce this problem. I think you should look outside of mojoPortal for possible causes, only thing I can think of is if your site is behind some kind of caching proxy server or maybe a web farm where there is no sharing of session across nodes.

6/1/2012 1:12:02 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Re: Adding new pages forces log out & admin bar to disappear

Could you be experiencing this issue (which has an easy solution)?

https://www.mojoportal.com/Forums/Thread.aspx?pageid=5&mid=34&ItemID=2&thread=9909

This appeared to sign us out on new pages when the site is in extensionless URL mode.

You must sign in to post in the forums. This thread is closed to new posts.