[PHP] Newbie ? on sessions

2002-06-13 Thread Vicki
I'm very new to PHP/mySQL so please forgive me if this is a silly question. I'm mostly trying to understand the concepts involved in tracking user activity with sessions, and despite hours of reading I'm still confused. I have a membership site with users authenticated by a mySQL database. I

Re: [PHP] Newbie ? on sessions

2002-06-13 Thread 1LT John W. Holmes
] To: [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 2:51 PM Subject: [PHP] Newbie ? on sessions I'm very new to PHP/mySQL so please forgive me if this is a silly question. I'm mostly trying to understand the concepts involved in tracking user activity with sessions, and despite hours of reading I'm

Re: [PHP] Newbie ? on sessions

2002-06-13 Thread Julie Meloni
V Here's the question: If a member logs out (session_destroy()) or closes V the browser, the session data is gone, right? yes V How, then, would I go about storing information about the member's activity on the site? By adding into your site, any of those custom tracking things. For example,

Re: [PHP] Newbie ? on sessions

2002-06-13 Thread Vicki
Thanks for both of your comments. I don't know why I was getting all tangled up in sessions, but now I feel MUCH more confident about how to proceed. Best regards, Vicki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] newbie: using sessions

2002-03-13 Thread Martín Marqués
On Wed, 13 Mar 2002, Faisal Abdullah wrote: Don't you have to assign the login value to the session variable first? session_start(); $login = $HTTP_POST_VARS(login); session_register(login); It's the same. Saludos... :-) Porqué usar una base de datos relacional cualquiera, si podés usar

[PHP] newbie: using sessions

2002-03-12 Thread Maarten Weyn
Hi i can't get the session variables working. When I get something like $_SESSION['Login']=$HTTP_POST_VARS['login']; on the first page, and i go with a link to an other php page. When then try to get $_SESSION['Login'] again it is empty. How comes? Maarten Weyn -- PHP General Mailing List

Re: [PHP] newbie: using sessions

2002-03-12 Thread Faisal Abdullah
Have you started session? And you have to register session variables as well. Try this: session_start(); $session_login = $HTTP_POST_VARS['login']; session_register(session_login); At the other page, where you want to output the variable, you must also start session. session_start(); echo

Re: [PHP] newbie: using sessions

2002-03-12 Thread Martín Marqués
On Mar 12 Mar 2002 06:28, you wrote: Hi i can't get the session variables working. When I get something like $_SESSION['Login']=$HTTP_POST_VARS['login']; on the first page, and i go with a link to an other php page. When then try to get $_SESSION['Login'] again it is empty. How comes?

Re: [PHP] newbie: using sessions

2002-03-12 Thread Faisal Abdullah
Don't you have to assign the login value to the session variable first? session_start(); $login = $HTTP_POST_VARS(login); session_register(login); How are you using you're session? Are you registering the variable for later use? session_start(); session_register(login); $login =

[PHP] Newbie on Sessions/Pages Management

2002-02-23 Thread Alexander P. Javier
I'm very new to PHP, as a matter of fact, I never had any experience anything about web-enabled applications development. I've been more into local Visual Basic and MS SQL Serve devt. If there's any kind soul out there, please HLP The question is: why do the values of my

[PHP] Newbie: Ending Sessions

2002-01-16 Thread Lee P Reilly
Hi, I wonder if someone could tell me what I am doing wrong with the following? I am trying to end a session (logout), but am having a problem... I register a new session as follows: authenticate.php (snippet) // if the user has just tried to login if ($username

Re: [PHP] Newbie: Ending Sessions

2002-01-16 Thread Janet Valade
] To: PHP List [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 8:58 AM Subject: [PHP] Newbie: Ending Sessions Hi, I wonder if someone could tell me what I am doing wrong with the following? I am trying to end a session (logout), but am having a problem... I register a new session