Session getting unset for every page change….
-
Hi..im a web developer…i recently had a project in wordpress…it was mini online shop….initially it was done as usual…without any open source platforms….but once the project was about to finish..the client just wanted to create the site in WordPress :(..i was bit worried….since am absolutely a fresher to this platform…since i want to use my existing script..i just thought of going crazy…the wordpress theme n all was done
but instead of using the WordPress plugins…i just tried for a small hack..as i wrotemy script inside the “page.php” file under the Theme/curr_template/ directory….i know its too complicated..but i didnt have much time to learn the Hooks and filters and other featuires of wordpress to create plugins…Since, this application contains a shopping cart all the cart items was done using session….as it goes to different pages the session should be maintained..but here its not working..once the session is stored in a variable and when goes to the next page the session will be lost…i tried few forums search and some said that they too had the same issue and the solving point was using session_start() in the config.php file..i tried that too..but of no use….i think thats applicable only to those who create the application by following the wordpress rules..using plugins..but ive never used any wordpress functions….there is some issue with register_globals…can someone help me on this issues…as im close to my deadline and need to finish this..really appreciated for all yours help…imsusig session _start() in all my files i have…Waiting for a reply that can help me out…please
- The topic ‘Session getting unset for every page change….’ is closed to new replies.