phppup Posted January 11 Share Posted January 11 It seemed like a simple idea for a snowy day, but now I've lost my way in the forest. The plan: I have a landing page that will connect to either page 1, 2, or 3. These pages all flow to page A. On page A, I decided (big mistake) to say "I hope you enjoyed visiting our page X." My idea was to create a $_SESSION['page] variable in each of pages 1,2,3 and provide the appropriate value accordingly. When a user why to page A, the variable would follow and populate the sentence çorrectly. If they went to page A directly or from the landing page, the variable would be blank bc there is no session value associated. My first steps seemed to be okay, but then I couldn't clear the session from the landing page. Is my implementation completely off? Quote Link to comment https://forums.phpfreaks.com/topic/326494-a-simple-idea-gone-haywire/ Share on other sites More sharing options...
Solution phppup Posted January 12 Author Solution Share Posted January 12 Never mind. Reapplied the logic and resolved the issue. Quote Link to comment https://forums.phpfreaks.com/topic/326494-a-simple-idea-gone-haywire/#findComment-1647846 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.