Re: variable visibility when using <a href></a>

From: "Jules Alberts" <jules(dot)alberts(at)arbodienst-limburg(dot)nl>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: variable visibility when using <a href></a>
Date: 2002-05-30 07:30:37
Message-ID: 200205300733.g4U7XZFR014959@artemis.cuci.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

On 29 May 2002 at 10:08, David C. Brown wrote:
> How about using a session?
>
> session_start()
> $password="fubar";
> session_register("password");
>
>
> then on the next page (sub.php) call session_start(); again and
> $password will become visable.
>
> see http://www.php.net/manual/en/function.session-start.php
>
> Dave

thanks Dave, i didn't know the concept of sessions. i had a google on
the subject, i guess using $_SESSION would be the safest approach. i'll
have a good look at it first before using it, the password stored will
give access to a database with privacy-sensitive data, so safety is
very important.

--
Jules Alberts

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Jurgen Defurne 2002-05-30 17:53:55 Re: using CURSOR with PHP
Previous Message Chris 2002-05-29 23:14:41 Re: MSSQL & PHP