[PHP] Postgres-Transaction-user_ignore_abort-Connection stop by the client

2002-10-16 Thread Max Buvry
Hi, I use Postgresql 7.2.2 + php 4.2.3 and I meet a problem with transaction and connections interruption. The application is the famous example of the bank accounts and the money transfers. I consider a table named "DEAL" where each transaction is saved. Each tuple has an id number as key. When

Re: [PHP] Sessions: Trigger a new one, Expire an old one

2002-10-16 Thread Max Buvry
Hi, I use php 4.2.3 with session.auto_start = 1 in php.ini What I use with URL session : $_SESSION= array(); unset($_GET[session_name()]); session_destroy(); Header("Location: next_script.php"); with cookie session : $cook_param= session_get_cookie_params(); $l

[PHP] Session and URL

2002-10-09 Thread Max Buvry
I meet a probleme with the session. My example considers 2 scripts : - the first script (test_session_url.php) opens a session (session.auto_start=1 in php.ini), defines a counter, prints some information and an hypertext to execute the second script which has session id as parameter ---

Re: [PHP] Erase the cookie sessions

2002-10-08 Thread Max Buvry
Max Buvry wrote: > > Marek Kilimajer wrote: > > > > You miss closing } > > > > Thanks, but that's a copy-paste error and that's not my problem really. > > mb Solved : my solution for information (before test with url !) 5 ) { $cook_par

Re: [PHP] Erase the cookie sessions

2002-10-08 Thread Max Buvry
Marek Kilimajer wrote: > > You miss closing } > Thanks, but that's a copy-paste error and that's not my problem really. mb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Erase the cookie sessions

2002-10-08 Thread Max Buvry
Hi, I wish test the session. I use php 4.2.3 et session.auto_start is 1. My first example is : Session example "; echo "hello ! : $cpt times"; session_unset(); session_destroy(); } ?> I don't find the solution to use setcookie ; I try the two instructions above (the script is

Re: [PHP] Cookie

2002-10-02 Thread Max Buvry
lem. > > There is an option in your ini.php file that refers to 'global variables' > You need to set this on, otherwise reference to them with the absolute > variable name. > > Best Regards > Bob Irwin > Server Admin & Web Programmer > Planet Netcom > -

[PHP] Cookie

2002-10-01 Thread Max Buvry
Hi, I use : apache 1.3.26, php 4.2.3, postgresql 7.2 (under solaris 7). I attempt to modify my old sources which run with the previous versions and I meet a problem with the cookie. I read that we can see the contents of a cookie with 2 methods : echo $testcookie echo $_COOKIE["testcookie"]