I am checking if customer is logged in or not(also i have to display customer name) but sometimes it's not working and after flushing block_html cache it works.
I have tried all possible solutions:-
Tried following but still getting issue:-
Why Customer Session is not working on full page cache?
As i R&D and found throgh AJAX technique it can be resolved but not any idea of the same...here are the references:-
So please help me for the same.