Edit report at https://bugs.php.net/bug.php?id=55776&edit=1

 ID:                 55776
 Updated by:         ahar...@php.net
 Reported by:        grinyad at mail dot ru
 Summary:            PDORow to session bug
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Session related
 Operating System:   Windows XP
 PHP Version:        5.3.8
 Block user comment: N
 Private report:     N

 New Comment:

What do you mean by "crashing"? Is the actual PHP process crashing, or
are you just getting an error message because PDO statements aren't
serialisable (which is expected)?


Previous Comments:
------------------------------------------------------------------------
[2011-09-24 19:21:08] grinyad at mail dot ru

Description:
------------
<?php

// make a Pdo_Mysql statement before

$result = $stmt->fetch(PDO::FETCH_LAZY);

session_start();

$_SESSION['PDORow'] = $result;
?>

Is crashing on next request after saving PDORow to session on session_start()



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55776&edit=1

Reply via email to