Jump to content

nembrionic

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Posts posted by nembrionic

  1. PHP Version 4.4.1

    Here's one for ya all:

    My script starts a session.
    It then pulls some data from MySQL database.
    It saves the pulled variables and values in $_SESSION.

    I want to use the new variables and their values straight away.
    I print the contents of $_SESSION and I see they are all in there like they should.
    Very nice.

    However, it will not echo/print them. They are 'empty'
    BUT...If I refresh the page, it WILL show them.


    So, it doesn't show them the FIRST time, but they WILL show them after a refresh, or visiting another page in my project.

    Anyone got a clue why it shows the variables are neatly stored but not printed the first time?

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.