anne3marie Posted May 31, 2012 Share Posted May 31, 2012 When a customer updates the database with their item selections, they have to log out and log back in to see the changes updated. How can I update these session variables when the customer refreshes the page? Thanks! Link to comment https://forums.phpfreaks.com/topic/263437-how-can-i-refresh-session-variables/ Share on other sites More sharing options...
anne3marie Posted May 31, 2012 Author Share Posted May 31, 2012 I fixed this problem by adding to my update.php. I think php is getting easier!! I have only been coding for about 2 weeks! $_SESSION['item_1'] = $_POST['item1']; Link to comment https://forums.phpfreaks.com/topic/263437-how-can-i-refresh-session-variables/#findComment-1350091 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.