Re: [PHP] php session in ie

2005-11-15 Thread sunaram patir
On 11/14/05, Ford, Mike [EMAIL PROTECTED] wrote: On 11 November 2005 18:47, sunaram patir wrote: array(1) { [PHPSESSID]= string(32) 337a44c0d6c9ed3cf4ba4e97d707589e } is returned by firefox on calling var_dump($_COOKIE). NULL in ie. If the very same piece of PHP produces different

RE: [PHP] php session in ie

2005-11-14 Thread Ford, Mike
On 11 November 2005 18:47, sunaram patir wrote: array(1) { [PHPSESSID]= string(32) 337a44c0d6c9ed3cf4ba4e97d707589e } is returned by firefox on calling var_dump($_COOKIE). NULL in ie. If the very same piece of PHP produces different results in different browsers, this *MUST* be due to

Re: [PHP] php session in ie

2005-11-12 Thread adriano ghezzi
to be redirected to login must have at least one of ( if(!isset($_SESSION['student_username']) !isset($_SESSION['student_password'])) ) not set, which one (or both) fail under i.e. ??? hth ag. 2005/11/11, sunaram patir [EMAIL PROTECTED]: Hi, i am having problem with internet explorer. i

Re: [PHP] php session in ie

2005-11-12 Thread sunaram patir
On 11/12/05, adriano ghezzi [EMAIL PROTECTED] wrote: to be redirected to login must have at least one of ( if(!isset($_SESSION['student_username']) !isset($_SESSION['student_password'])) ) not set, which one (or both) fail under i.e. ??? hth if both of them aren't set, the user is

[PHP] php session in ie

2005-11-11 Thread sunaram patir
Hi, i am having problem with internet explorer. i am working on a project on building a website where i need to keep track of the users i.e. i use a login system in there in short. with the following code i check whether the user is logged in or not. ?php session_start();

[PHP] php session in ie

2005-11-11 Thread sunaram patir
Hi, i am having problem with internet explorer. i am working on a project on building a website where i need to keep track of the users i.e. i use a login system in there in short. with the following code i check whether the user is logged in or not. ?php session_start();

Re: [PHP] php session in ie

2005-11-11 Thread Marcus Bointon
On 11 Nov 2005, at 11:43, sunaram patir wrote: it works fine in firefox and msn explorer. in internet explorer, when i visit to a link in any page it asks for the login details again. could anyone please help me out?! It just sounds like you have cookies disabled or not allowed for this

Re: [PHP] php session in ie

2005-11-11 Thread M
sunaram patir wrote: Hi, i am having problem with internet explorer. i am working on a project on building a website where i need to keep track of the users i.e. i use a login system in there in short. with the following code i check whether the user is logged in or not. ?php session_start();

Re: [PHP] php session in ie

2005-11-11 Thread Stephen Leaf
For security.. *never* store the password in a cookie.. if you must... instead do some sort of encryption on it and some other value store that and use it for verification. On Friday 11 November 2005 05:43 am, sunaram patir wrote: Hi, i am having problem with internet explorer. i am working on

Re: [PHP] php session in ie

2005-11-11 Thread M
Stephen Leaf wrote: For security.. *never* store the password in a cookie.. OP stores the password in session -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php session in ie

2005-11-11 Thread sunaram patir
i will for sure. thanks. On 11/11/05, M [EMAIL PROTECTED] wrote: Stephen Leaf wrote: For security.. *never* store the password in a cookie.. OP stores the password in session -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP

Re: [PHP] php session in ie

2005-11-11 Thread Richard Lynch
On Fri, November 11, 2005 5:20 am, sunaram patir wrote: session_start(); This one here... (see below) header(Location: login.php); Not crucial, but you'd save some HTTP connections by just doing: require 'login.php'; exit; instead of bouncing the user's agent back and forth

Re: [PHP] php session in ie

2005-11-11 Thread sunaram patir
instead of bouncing the user's agent back and forth session_cache_limiter('private_no_expire'); session_set_cookie_params(0,/,schools.zenrays.com); session_start(); ... will probably not match this one here. You've set the Cookie Parameters here to very specific values. You should

Re: [PHP] php session in ie

2005-11-11 Thread Richard Lynch
He's not storing the password in a Cookies. He's storging it in a $_SESSION Which is still a Risk, especially on a shared server, but it's not necessarily in the category of Never do this On Fri, November 11, 2005 9:48 am, Stephen Leaf wrote: For security.. *never* store the password in a

Re: [PHP] php session in ie

2005-11-11 Thread Richard Lynch
On Fri, November 11, 2005 12:06 pm, sunaram patir wrote: session_start(); session_cache_limiter('private_no_expire'); session_set_cookie_params(0,/,schools.zenrays.com); when i call var_dump($_COOKIE), it returns null. i can't make out what's happening! Is $_COOKIE NULL in the browsers

Re: [PHP] php session in ie

2005-11-11 Thread sunaram patir
array(1) { [PHPSESSID]= string(32) 337a44c0d6c9ed3cf4ba4e97d707589e } is returned by firefox on calling var_dump($_COOKIE). NULL in ie. On 11/11/05, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, November 11, 2005 12:06 pm, sunaram patir wrote: session_start();

Re: [PHP] php session in ie

2005-11-11 Thread sunaram patir
On 11/11/05, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, November 11, 2005 12:06 pm, sunaram patir wrote: session_start(); session_cache_limiter('private_no_expire'); session_set_cookie_params(0,/,schools.zenrays.com); when i call var_dump($_COOKIE), it returns null. i can't make

Re: [PHP] php session in ie

2005-11-11 Thread Richard Lynch
Try setting session.use_cookies to Off so PHP won't even try to use Cookies. On Fri, November 11, 2005 12:49 pm, sunaram patir wrote: On 11/11/05, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, November 11, 2005 12:06 pm, sunaram patir wrote: session_start();

Re: [PHP] php session in ie

2005-11-11 Thread Andras Kende
- Original Message - From: sunaram patir [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, November 11, 2005 5:31 AM Subject: [PHP] php session in ie Hi, i am having problem with internet explorer. i am working on a project on building a website where i need to keep track

Re: [PHP] php session in ie

2005-11-11 Thread Stephen Leaf
if it's a risk then it's in my never get into the practice of doing this category. Passwords should always be used to verify and discarded. never saved in any form which can be seen directly or decoded. And true $_SESSION isn't a cookie.. however there are some systems that a cookie is used