IE and cookie issues in PHP app

This is a discussion on IE and cookie issues in PHP app within the PHP General forums, part of the PHP Programming Forums category; Hi all. I have built an online events directory in php ( http://dontjustsitthere.co.uk) where people can find local ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-26-2007
Dave Goodchild
 
Posts: n/a
Default IE and cookie issues in PHP app

Hi all. I have built an online events directory in php (
http://dontjustsitthere.co.uk) where people can find local events and also
post their events. The app is composed of a single page, index.php, that
generates different content depending on the parameters passed to it and
uses sessions for persistence.

I have had nothing but pain with IE6 with this, I don't use any third-party
cookies and one issue was resolved by using this line at the top of the
page:

ini_set('session.name', 'couchy');
session_start();

To post an event, the first form processes the category and postcode of the
event plus a captcha field. The fields are validated and cleaned and then
passed into $_SESSION.

On the next stage I perform a cookie check, and if there are issues warn the
user. This has been happening to every IE6 user, they can't get past the
first page - so that means that $_SESSION['category'] and
$_SESSION['postcode'] are not being populated.

I thought I had this nailed but it's rearing it's butt-ugly head again.
Anyone aware of the probable cause of this?



--
http://www.web-buddha.co.uk

Reply With Quote
  #2 (permalink)  
Old 04-26-2007
Tijnema !
 
Posts: n/a
Default Re: [PHP] IE and cookie issues in PHP app

On 4/26/07, Dave Goodchild <buddhamagnet@gmail.com> wrote:
> Hi all. I have built an online events directory in php (
> http://dontjustsitthere.co.uk) where people can find local events and also
> post their events. The app is composed of a single page, index.php, that
> generates different content depending on the parameters passed to it and
> uses sessions for persistence.
>
> I have had nothing but pain with IE6 with this, I don't use any third-party
> cookies and one issue was resolved by using this line at the top of the
> page:
>
> ini_set('session.name', 'couchy');
> session_start();


Why do you have cookies in your title, and you're using sessions?
These are different things...
>
> To post an event, the first form processes the category and postcode of the
> event plus a captcha field. The fields are validated and cleaned and then
> passed into $_SESSION.
>
> On the next stage I perform a cookie check, and if there are issues warn the
> user. This has been happening to every IE6 user, they can't get past the
> first page - so that means that $_SESSION['category'] and
> $_SESSION['postcode'] are not being populated.


Maybe some code could help us determine the real problem, with this
text description, there could be 100+ different codes that could fit,
and maybe some work with IE6, and some don't.
>
> I thought I had this nailed but it's rearing it's butt-ugly head again.
> Anyone aware of the probable cause of this?
>


IE6 is full of sh*t, I had a lot of trouble with it lately too, seems
that it doesn't handle all RFC/W3C standards....
But as i said before, we can't do anything without your code :)

Tijnema
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:13 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0