i have a blade in which i have a div. the div gets the data from session. also on the same blade i have a button which makes an ajax call to a controller get data from db set it into the session. after the ajax call i have load the div of the blade to display the updated session. the issue is it works perfectly on local host but on server i need to click button twice. the div is not displaying updated session rather it displays the previous value.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community