I have a problem with refreshing the page layout. Since I have all the contents load in a div, when the page first loads it loads a default link into the content div. When the user clicks a link I want that page to be stored in a session variable($last_page), so that when the page is refreshed the same page that is currently there will show. The problem is I load the pages using jQuery/Javascript so I cannot alter the $last_page session variable in the same function. I've been trying so many things(Messing with Jquery and ajax and php) and can't get it to work. How do you guys organize your layouts and/or do you know how I can fix this? Any help or attempt is greatly appreciated!
ichigo_cool -4 Junior Poster
blocblue 238 Posting Pro in Training Featured Poster
ichigo_cool -4 Junior Poster
blocblue 238 Posting Pro in Training Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.