[PHP] question about session variables

2008-06-02 Thread Sudhakar
i have a registration page called register.php if the data entered is validated correctly i call a file called thankyou.php or else validate.php presently a user after seeing the url website.com/thankyou.php if they enter the url directly in the browser as website.com/thankyou.php they can

Re: [PHP] question about session variables

2008-06-02 Thread Ted Wood
How are you calling thankyou.php? 1. are you -redirecting- the user to that file? --or-- 2. are you -including- that file into register.php upon a successful submission? The method you're using determines how you best secure thankyou.php from direct access. If you're redirecting, then

Re: [PHP] Question about session

2005-11-14 Thread Richard Lynch
On Fri, November 11, 2005 7:09 pm, Bagus Nugroho wrote: I have session code which written WindowsXP and It wotk properly as expected, but when I'm used in Windows 2K, it got error as; Notice: Undefined index: loginMessage in C:\CentralData\forms\mainForm.php on line 65 I'am used Apache 2.0

[PHP] Question about session

2005-11-11 Thread Bagus Nugroho
I have session code which written WindowsXP and It wotk properly as expected, but when I'm used in Windows 2K, it got error as; Notice: Undefined index: loginMessage in C:\CentralData\forms\mainForm.php on line 65 I'am used Apache 2.0 and PHP 5.0.4. Is php.ini setting on W2K different with XP

Re: [PHP] Question about session

2005-11-11 Thread Esteamedpw
There's no code. You need to put your code in the Email so we can see it...

RE: [PHP] Question about session

2005-11-11 Thread Bagus Nugroho
poblem was solved by add session_register function before $_SESSION[blablabla]; From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sat 12-Nov-2005 09:50 To: Bagus Nugroho; php-general@lists.php.net Subject: Re: [PHP] Question about session There's