Date: 11/29/99
- Next message: nathan r. hruby: "RE: [PHPLIB] Problem with Sessions"
- Previous message: Lars S. Geisler: "SV: SV: SV: RE: [PHPLIB] I can't keep the PHPLIB-"cookie""
- In reply to: Stephen Bolinger: "RE: [PHPLIB] Problem with Sessions"
- Next in thread: nathan r. hruby: "RE: [PHPLIB] Problem with Sessions"
- Reply: nathan r. hruby: "RE: [PHPLIB] Problem with Sessions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I found that if I issued the page_close() command prior to opening and
interacting with the database that the session variable would increment.
So, is there any way to open a session, interact with a database via the
PHPLIB database abstraction, then close the session?
-Stephen Bolinger
Stephen Bolinger wrote:
> Hi. I'm trying to integrate session management into my site. I got
PHPLIB,
> installed it and got the demo working fine.
>
> I am using PHPLIB's database abstraction to interact with a MySQL
database.
> Here's where I've run into trouble:
>
> I took the PHPLIB sample index.php3 and added some database connectivity
to
> it. It displays everything properly out of the database, but the "s"
> variable does not increment. I've narrowed it down to the "$db->query"
> method.
>
> If I leave in the creation of the $db object but comment out the
$db->query,
> the "s" variable increments. As soon as I put the query back in, the
number
> stays the same. Any ideas?
>
> -Stephen Bolinger
>
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: nathan r. hruby: "RE: [PHPLIB] Problem with Sessions"
- Previous message: Lars S. Geisler: "SV: SV: SV: RE: [PHPLIB] I can't keep the PHPLIB-"cookie""
- In reply to: Stephen Bolinger: "RE: [PHPLIB] Problem with Sessions"
- Next in thread: nathan r. hruby: "RE: [PHPLIB] Problem with Sessions"
- Reply: nathan r. hruby: "RE: [PHPLIB] Problem with Sessions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

