CustomContent - have to reload after login to see content
CustomContent - have to reload after login to see content
I'm using FrontEndUsers and CustomContent together and it's working fine. The page shows the login form if the person isn't logged in and after they login it will show the custom content for users that are logged in. The problem is you enter the username and password and hit submit and it comes back with the login screen again. If I hit reload then the page reloads with the correct content. I've tested this in Firefox 1.5.0.4, is there something else I should set? I marked the page as uncacheable thinking that might be the problem.
Thanks,
Kevin
Thanks,
Kevin
Re: CustomContent - have to reload after login to see content
any chance that this was resolved? I seem to have the same "problem". 

Re: CustomContent - have to reload after login to see content
Nope, not sure what the fix is for this one just yet.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: CustomContent - have to reload after login to see content
What version of CMS, and which version of CustomContent.... Also are you using the smarty syntax, or the style syntax.
In order to properly answer your question I need to know all of these details.
Thanks.
you may have better luck by marking the page as non-cachable, depeding on your version of CMS.
In order to properly answer your question I need to know all of these details.
Thanks.
you may have better luck by marking the page as non-cachable, depeding on your version of CMS.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: CustomContent - have to reload after login to see content
Sorry, forgot to include the spec 
i am running cms 0,13 customcontent 1,4,1 and frontendusers 1,0,5
the code i am using, was the one found here on the forum:
{cms_module module=FrontEndUsers} {cms_module module=CustomContent} {if $customcontent_loggedin}
private stuff goes here
{/if}

i am running cms 0,13 customcontent 1,4,1 and frontendusers 1,0,5
the code i am using, was the one found here on the forum:
{cms_module module=FrontEndUsers} {cms_module module=CustomContent} {if $customcontent_loggedin}
private stuff goes here
{/if}
Re: CustomContent - have to reload after login to see content
cmsms 0.13
customcontent 1.4.1
frontendusers 1.0.5
And the syntax I'm using:
{cms_module module=CustomContent}
{if $customcontent_loggedin eq 1}
{else}
{cms_module module=FrontEndUsers form=login}
{/if}
Thanks!
Kevin
customcontent 1.4.1
frontendusers 1.0.5
And the syntax I'm using:
{cms_module module=CustomContent}
{if $customcontent_loggedin eq 1}
{else}
{cms_module module=FrontEndUsers form=login}
{/if}
Thanks!
Kevin
Re: CustomContent - have to reload after login to see content
I've tested it on these three browsers:
FF - 1.5.0.4 (Linux box)
Mozilla - 1.7.13 (Linux box)
IE - 6.0.2900.2096
All three have the same problem. Sometimes it'll reload straight to the page, other times I get the login page and just refreshing will bring up the correct page. I was curious if it had anything to do with caching so I disabled the cache on FF and it still did the same thing.
FF - 1.5.0.4 (Linux box)
Mozilla - 1.7.13 (Linux box)
IE - 6.0.2900.2096
All three have the same problem. Sometimes it'll reload straight to the page, other times I get the login page and just refreshing will bring up the correct page. I was curious if it had anything to do with caching so I disabled the cache on FF and it still did the same thing.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: CustomContent - have to reload after login to see content
it's not client caching, it's server side caching.
Have you tried marking the page as non-cachable? in the CMSMS admin..... I think it's on the options tab when you edit the page.
Have you tried marking the page as non-cachable? in the CMSMS admin..... I think it's on the options tab when you edit the page.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: CustomContent - have to reload after login to see content
Yeah, that was one of the first things I thought to try. I just checked again and the checkbox on the options screen for the page is empty. I just thought today I'd try turning off the browser cache to see if it had any effect.
Re: CustomContent - have to reload after login to see content
This sounds like it might be the same problem I'm having (posted a thread "Frontendusers - Some People Login Twice"). Doesn't hitting refresh just repost the data? So wouldn't it be the same thing as logging in twice? I've had 3 users so far report this problem, but I can't reproduce it myself. Ugh.
Re: CustomContent - have to reload after login to see content
Ok, mine turned out to be a server issue, probably related to some security upgrades. My sys admin is fixing it. I realized it was a server issue when I found that some of my admins were having to login twice when accessing an htaccess protected directory that's totally unrelated to CMSMS.
Re: CustomContent - have to reload after login to see content
mmm, maybe it's the same thing here... the site is hosted by dommel.be
Could you give me some more info about that 'server problem'? so i can ask my hoster to check it for me?
Thanks!
Could you give me some more info about that 'server problem'? so i can ask my hoster to check it for me?
Thanks!