This question may be related to a resolved thread.
Hello,
I’m having a similar issue to the post above. I’ve tried everything listed, but to no avail.
What I’m trying to do is use the author_id parameter to allow a user to view entries that they have authored. What I’m noticing is that if I view the page immediately after the user #1 logs is, I can view only that member’s entries. However, If user #2 logs in and submits an entry, it seems that user #2’s member_id is cached.
When the user #1 tries to view the page containing a list of their entries, they see the entries of user #2. I’m not using template caching on any of these pages, so I’m unsure why this is happening.
Here is my code:
{if logged_in}
{if segment_3 == ''}
{exp:weblog:entries weblog="{my-weblog}" author_id="CURRENT_USER" status="not closed|Incomplete" dynamic="off" show_future_entries="yes"}
Display content here
{/exp:weblog:entries}
{/if}
{/if}I should also note that when I hard-code the member_id it works as it should.
Any ideas? I’ve tried all I know.
Thanks,
Jon