• 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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter unni123

    (@unni123)

    Hi..if anyone had this problem…please help me out….

    I am having a similar issue to this. I have built my own custom login system that is created to hide the blog from public view. I use a session to store the information about the user logged in. I have tried the solution here:

    http://wordpress.org/support/topic/107006?replies=6

    However, that doesn’t work. I’ve stuck “session_start();” in several other files and places, but to no avail. I have noticed, however, that this happens only in Firefox – it works just fine in IE. Am I doing something wrong?

    Any help would be greatly appreciated.

    Hey there,

    I am also having the same problem. Isn’t there anybody out there who can help? I’ve been searching through all the forum posts that include the word ‘session’, and it seems that they all go unanswered….

    Please let me know if either of you have solved this problem, thanks!

    Hi there. My problem was that when using wp-shopping cart when going to a new page the cart got empty. I managed to find the problem. For me was that i had a widget (text) where i placed a javascript. I removed the widget and everything worked fine. I knew that it was something realated to js not the server session settings as everything worked fine in IE. Hope this works for you too.

    This is like the 100th page I have visited with probably 300 people having the same issues, and I have found only like 2 pages with solutions, but none of those 2 solutions work.

    Great!

    Same problem here, looking around for some days and trying different thins. Does anybody knows how to use sessions with wordpress?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Session getting unset for every page change….’ is closed to new replies.