On Fri, Sep 17, 2010 at 10:50 AM, Cheryl Sullivan csull...@shh.org wrote:
Hi there - just to clear things up, I didn't mean your answer was irrelevant.
It was an excellent point - I just took the function call encompassing the
query string out of the code I posted to avoid people having to
again -
-Original Message-
From: Andrew Ballard [mailto:aball...@gmail.com]
Sent: Friday, September 17, 2010 11:15 AM
To: Cheryl Sullivan
Cc: Peter Lind; tommy...@gmail.com; a...@ashleysheridan.co.uk;
php-general@lists.php.net
Subject: Re: [PHP] Session Vars loaded from MSSQL Query drop
-general@lists.php.net
Subject: Re: [PHP] Session Vars loaded from MSSQL Query drop, those
loaded from MYSQL Query stick
On 16 September 2010 20:03, Cheryl Sullivan csull...@shh.org wrote:
We are actually running the query through a function that removes
single ticks, etc to avoid this, but I
Hi there – I’m new to this news group. Any help with this is appreciated –
When I populate session vars from a MYSQL query, they are still there when I
change pages. If I populate them from an MSSQL query, they drop.
It doesn't matter if I get to the next page using a header redirect or a
On Thu, 2010-09-16 at 10:11 -0400, Cheryl Sullivan wrote:
Hi there – I’m new to this news group. Any help with this is appreciated –
When I populate session vars from a MYSQL query, they are still there when I
change pages. If I populate them from an MSSQL query, they drop.
It
]
Sent: Thursday, September 16, 2010 10:14 AM
To: Cheryl Sullivan
Cc: php-general@lists.php.net
Subject: Re: [PHP] Session Vars loaded from MSSQL Query drop, those
loaded from MYSQL Query stick
On Thu, 2010-09-16 at 10:11 -0400, Cheryl Sullivan wrote:
Hi there - I'm new to this news group
-Original Message-
From: Cheryl Sullivan [mailto:csull...@shh.org]
Sent: Thursday, September 16, 2010 7:12 AM
To: php-general@lists.php.net
Subject: [PHP] Session Vars loaded from MSSQL Query drop, those loaded
from MYSQL Query stick
Hi there – I’m new to this news group. Any
On Thu, Sep 16, 2010 at 10:26 AM, Cheryl Sullivan csull...@shh.org wrote:
Absolutely -
This is from the first page
?php
$_SESSION['UserLastName'] = strtolower(trim($_POST['txtLastName']));
$_SESSION['BadgeID'] = trim($_POST['txtBadgeID']);
//access MS SQL Server database
$q1 = select
...@gmail.com]
Sent: Thursday, September 16, 2010 11:00 AM
To: php-general@lists.php.net
Subject: RE: [PHP] Session Vars loaded from MSSQL Query drop, those
loaded from MYSQL Query stick
-Original Message-
From: Cheryl Sullivan [mailto:csull...@shh.org]
Sent: Thursday, September 16, 2010 7
-Original Message-
From: Cheryl Sullivan [mailto:csull...@shh.org]
Sent: Thursday, September 16, 2010 8:33 AM
To: Tommy Pham; php-general@lists.php.net
Subject: RE: [PHP] Session Vars loaded from MSSQL Query drop, those
loaded from MYSQL Query stick
SQL Server 8.00.818 - SP3
On 16 September 2010 16:26, Cheryl Sullivan csull...@shh.org wrote:
Absolutely -
This is from the first page
?php
$_SESSION['UserLastName'] = strtolower(trim($_POST['txtLastName']));
$_SESSION['BadgeID'] = trim($_POST['txtBadgeID']);
//access MS SQL Server database
$q1 = select
16, 2010 12:03 PM
To: Cheryl Sullivan
Cc: a...@ashleysheridan.co.uk; php-general@lists.php.net
Subject: Re: [PHP] Session Vars loaded from MSSQL Query drop, those
loaded from MYSQL Query stick
On 16 September 2010 16:26, Cheryl Sullivan csull...@shh.org wrote:
Absolutely -
This is from
...@gmail.com]
Sent: Thursday, September 16, 2010 11:39 AM
To: php-general@lists.php.net
Subject: RE: [PHP] Session Vars loaded from MSSQL Query drop, those
loaded from MYSQL Query stick
-Original Message-
From: Cheryl Sullivan [mailto:csull...@shh.org]
Sent: Thursday, September 16, 2010 8:33 AM
On Thu, Sep 16, 2010 at 10:26 AM, Cheryl Sullivan csull...@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
On 16 September 2010 20:03, Cheryl Sullivan csull...@shh.org wrote:
We are actually running the query through a function that removes single
ticks, etc to avoid this, but I didn't think that was relevant to the
question so I didn't include it. Thanks, though!
You're the one with the problem
15 matches
Mail list logo