Forget pconnect, use normal connect.
The ONLY benefit of using pconnect is that it saves a little time on create the database connection.
Apart from that, there are NO benefits at all.
pconnect definately does NOT let you open a connection, use it in a script, then run another script and expect toget the same connection (for example to use for transactions)