I don't want to use cookies.
I want to use session. When I use this code. It stores data on the harddrive.
session_start();
$referral = $_SESSION['referral'];
if(empty($referral)) {
$referral = $_SERVER['QUERY_STRING'];
$_SESSION['referral'] = $referral;
}
On Mon, 8 Nov 2004 16:19:49 -0600, Greg Donald <[EMAIL PROTECTED]> wrote:
> On Mon, 8 Nov 2004 15:56:03 -0500, Jerry Swanson <[EMAIL PROTECTED]> wrote:
> > I don't use cookie for my page. I use session. As I understand cookies
> > don't create any files on user computer.
>
> Your understanding is incorrect. Using cookies does indeed place
> files on the user's computer. That's what a cookie is, a file on the
> user's computer, created by the web client.
>
> --
> Greg Donald
> Zend Certified Engineer
> http://gdconsultants.com/
> http://destiney.com/
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php