Re: Session Vars loaded from MSSQL Query drop, those loaded from MYSQL Query stick
| From: | Andrew Ballard | Date: | Thu, 16 Sep 2010 18:20:42 +0000 |
| Subject: | Re: Session Vars loaded from MSSQL Query drop, those loaded from MYSQL Query stick | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308136@lists.php.net to get a copy of this message | ||
On Thu, Sep 16, 2010 at 10:26 AM, Cheryl Sullivan <csulliva@shh.org> wrote:
[snip]
> When I echo all five $_SESSION vars from here, they are all populated.
> Then I can either redirect or form post to the next page. In either
> case, the $_SESSION vars populated from SQL Server ( the SSN and Cost
> Center vars) are blank when I echo them on the destination page.
On Thu, Sep 16, 2010 at 2:12 PM, Cheryl Sullivan <csulliva@shh.org> wrote:
> Tommy - I ran phpinfo() but I don't see anything in it referencing
> MSSQL or SQLSRV. I have included all the references to "sql" I see
> below, but the only references I see to databases are to mySQL and
> SQLLite. Unfortunately I don't have any control over how service-packed
> the database server is. Is there something in SP 4 for SQL Server 2000
> that is supposed to fix the issue I'm having, I may be able to plead my
> case for getting the latest SP. Is this the case, do you know?
>
[snip]
Again, I ask - based on what you said earlier - are you sure this is
even a database issue? You said that when you echo the values in your
$_SESSION array AFTER reading them from the database they are there,
and you only lose them on the next request after either a redirect or
a manual form POST. If the values are getting into $_SESSION correctly
within this page, your issue is not related to the database at all.
Am I misunderstanding you?
Andrew