OMG!I am geek
Posts: 57
394 credits Members referred : 0
« on: Jul 20, 2007, 10:49:54 AM »
If I try to login using IE nothing happend even no notice for a wrong password arrises. The same procedure in firefox works verry well. I don't understand why.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Jul 20, 2007, 10:53:27 AM »
check your cookie/session settings for your client and server.
I guess the session id is not stored in your client (IE)
check your cookie/session settings for your client and server.
I guess the session id is not stored in your client (IE)
I'm using IE 6. And I realy cant find a cookie comming the expecting domain but I can see that google an other sides safe ther cookies. I've tried different setting for cookiehandling in IE default, overwrite cookie settings and allow session cookies but now cookie from the expecting domain I can find and still no login.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
It's time to use PHP5!
« Reply #3 on: Jul 20, 2007, 11:42:04 AM »
there must be at least the session cookie. try this function in place of session_start():
I'm already using this session starter but still no session in IE but in firefox. It realy seems to by a setting problem with IE because if works in firefox but I've even tried diverend cookie settings in IE. I don't understand and I should work whith IE.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
I'm already using this session starter but still no session in IE but in firefox. It realy seems to by a setting problem with IE because if works in firefox but I've even tried diverend cookie settings in IE. I don't understand and I should work whith IE.
then no one can test if this is maybe a problem with your browser
Right, :-( but I've testet it whith different IEs from different Notebooks and the answer is the same. It happend with IE 5.5,6,7. Other I have'nt tried.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
It's time to use PHP5!
« Reply #10 on: Jul 22, 2007, 01:41:30 PM »
I have tested the class with IE several times, no problems there...
provide us more info (and a URL) otherwise there is no way to help
OMG!I am geek
Posts: 57
394 credits Members referred : 0
« Reply #11 on: Jul 22, 2007, 03:14:28 PM »
Maybe it's a simple question: Where does the IE store the session cookies. Here: C:\Documents and Settings\zeus\Cookies I can find no cookie.
With firefox a can see the session cookie.
Is there a way to login without using cookies?
OMG!I am geek
Posts: 57
394 credits Members referred : 0
« Reply #12 on: Jul 22, 2007, 03:47:54 PM »
Safari, with cookies anabled, is even not able to login an user.
OMG!I am geek
Posts: 57
394 credits Members referred : 0
« Reply #13 on: Jul 23, 2007, 12:53:05 PM »
The problems with IEs and Safari (and maybe some more browsers) depence on the session handler. It doe'nt work with this code:
Code:
<?php /* This class code is based on the tutorial of Matt Wade from http://www.zend.com/zend/spotlight/code-gallery-wade8.php */
/* Create new object of class */ $ses_class = new session();
/* Change the save_handler to use the class functions */ session_set_save_handler (array(&$ses_class, '_open'), array(&$ses_class, '_close'), array(&$ses_class, '_read'), array(&$ses_class, '_write'), array(&$ses_class, '_destroy'), array(&$ses_class, '_gc'));
class session { /* Define the mysql table you wish to use with this class, this table MUST exist. */ var $ses_table = SESSION_TABLE;
but with this code it works:
Code:
<?php /* This class code is based on the tutorial of Matt Wade from http://www.zend.com/zend/spotlight/code-gallery-wade8.php */
/* Create new object of class */ $ses_class = new session();
/* Change the save_handler to use the class functions */ session_set_save_handler (array(&$ses_class, '_open'), array(&$ses_class, '_close'), array(&$ses_class, '_read'), array(&$ses_class, '_write'), array(&$ses_class, '_destroy'), array(&$ses_class, '_gc'));
/* Start the session */ session_start();
class session { /* Define the mysql table you wish to use with this class, this table MUST exist. */ var $ses_table = SESSION_TABLE;
but now users are not log out automaticly If they do nothing. That's not fine ... Do you know why?
Code:
« Last Edit: Jul 23, 2007, 12:57:44 PM by tomz »
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
It's time to use PHP5!
« Reply #14 on: Jul 23, 2007, 03:26:55 PM »
as I said before it works fine for a lot of users...
OMG!I am geek
Posts: 57
394 credits Members referred : 0
« Reply #15 on: Jul 24, 2007, 01:42:49 PM »
Do you have any idea why the change from session_start(); to start_session(); makes problems for the IEs? Unfortunately I'm not one of this for them it works fine. Sorry, but I don't understand how the IEs behavior belongs to the session to the new funktion.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6440
39464 credits Members referred : 374
It's time to use PHP5!
« Reply #16 on: Jul 24, 2007, 02:37:20 PM »
I wrote the start_session function to make it compatible with IE