Date: 11/18/99
- Next message: Jeroen Laarhoven: "[PHPLIB] 302 server response reply results in looping"
- Previous message: Ronny Hanssen: "Re: [PHPLIB] Trouble connecting PHPLIB to mySQL database"
- In reply to: Mark Leavy: "Re: [PHPLIB] Session stuff???????????"
- Next in thread: Kristian Koehntopp: "Re: [PHPLIB] Session stuff???????????"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I tried implementing something almost identical to this sample in the
documentation.
where a session is deleted and a new one is created.
I keep getting errors that information has already been sent to the browser,
which prevents the new cookies to be sent. Does anyone know where or why
things are being sent?
it's obviously not in the code below.. but perhaps in the PHPLIB code?
I dug a lot and couldn't find anything.
any insite would be helpful. thanks...
The only difference is that the original session uses "auth"
in addition to "sess"
<?php
page_open(array("sess" => "Shop_Session"));
// send order as mail
mail_order($shopowner, $user, $cart);
// delete the current session
$sess->delete();
// now get a new session id, but retain the users
// address and name:
page_open(array("sess" => "Shop_Session")); // will force auto_init again!
$sess->register("user"); // could be done in auto_init as well
?>
-
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: Jeroen Laarhoven: "[PHPLIB] 302 server response reply results in looping"
- Previous message: Ronny Hanssen: "Re: [PHPLIB] Trouble connecting PHPLIB to mySQL database"
- In reply to: Mark Leavy: "Re: [PHPLIB] Session stuff???????????"
- Next in thread: Kristian Koehntopp: "Re: [PHPLIB] Session stuff???????????"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

