Matthew...

Did you look into the session variables

Session_start()

Session_register()

Mysql, query

-----Original Message-----
From: Matthew Walker [mailto:[EMAIL PROTECTED]] 
Sent: Friday, March 08, 2002 4:49 PM
To: [EMAIL PROTECTED]; mysql list; Siulun A Sze
Subject: RE: login and logout


The problem with that is, it doesn't allow logout.

Siulun, if you /do/ find some good sample code, clue me in. I'm in the
market myself. I'm using apache's basic auth right now, but I need to
add logout support.

Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, March 08, 2002 3:05 PM
To: mysql list; Siulun A Sze
Subject: Re: login and logout

Don't know what web server your using, but I use apache's .htmaccess
feature
to control user access. Works good for me, and its pretty easy to setup.

Mike
----- Original Message -----
From: "Siulun A Sze" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 08, 2002 4:04 PM
Subject: login and logout


> Does anyone have a php sample code handling login and
> logout using cookie?
>
> I tried to use SESSION, but when I click back on the
> browswer, it lost all the data I previously entered in
> a form.
>
> I want to have a section on the website that is only
> used by registered users. The site developed using PHP
> with query mysql on the backend.
>
> Thanks,
> Siulun
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.330 / Virus Database: 184 - Release Date: 2/28/02


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.332 / Virus Database: 186 - Release Date: 3/6/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.332 / Virus Database: 186 - Release Date: 3/6/2002
 

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to