Home  |  Forums  |  914 Info  |  Blogs
 
914World.com - The fastest growing online 914 community!
 
Porsche, and the Porsche crest are registered trademarks of Dr. Ing. h.c. F. Porsche AG. This site is not affiliated with Porsche in any way.
Its only purpose is to provide an online forum for car enthusiasts. All other trademarks are property of their respective owners.
 

Welcome Guest ( Log In | Register )

> EUREKA !!!, to cookie hell and back ...
SirAndy
post Nov 9 2003, 09:02 PM
Post #1


Resident German
*************************

Group: Admin
Posts: 41,669
Joined: 21-January 03
From: Oakland, Kalifornia
Member No.: 179
Region Association: Northern California



alright. i fixed the cookie problem. took me only a few days. i'm tired now ...

ok, here it is in a nutshell:

- cookies are send to the client computer within the HTTP-Header.
- a http-header can NOT be send after any other data has been send to the client. (hence the name HEADER).
- if you attempt to send a cookie AFTER the header was sent, you either (on good systems) get a error message OR the cookie request will be ignored.
- for sloppy/stupid/unexpierienced/stupid/stupid programmers, there is a workaround where you can cache all web-page data in a buffer and if that web-page contains any header/cookie specific calls, those will be collected and send first, then the rest of the page. this is done by the web-server.
- this allows for really shitty code to actually work.
- this is what the guys who made our BBS code were doing. (IBF forums)


so, all i had to do was to set the "i'm a dumb-ass programmer" flag in the server settings,
and voila! it works again ...
Andy
User is online!Profile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies(1 - 14)
redshift
post Nov 9 2003, 09:06 PM
Post #2


Bless the Hell out of you!
**********

Group: Members
Posts: 10,926
Joined: 29-June 03
Member No.: 869



Yes it does! Awesome!

(IMG:style_emoticons/default/smilie_pokal.gif)


M
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ChrisReale
post Nov 9 2003, 09:08 PM
Post #3


Sleazy
****

Group: Members
Posts: 2,665
Joined: 20-January 03
From: San Francisco
Member No.: 176



Actually, I think this place has the patend on "Cookie Hell"
http://www.mrsfields.com/
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
redshift
post Nov 9 2003, 09:09 PM
Post #4


Bless the Hell out of you!
**********

Group: Members
Posts: 10,926
Joined: 29-June 03
Member No.: 869



Yeah! Hellishly TASTY!

(IMG:style_emoticons/default/chowtime.gif)



M
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Joe Bob
post Nov 9 2003, 09:11 PM
Post #5


Retired admin, banned a few times
***************

Group: Members
Posts: 17,427
Joined: 24-December 02
From: Boulder CO
Member No.: 5
Region Association: None



What no BOOBS?????
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Katmanken
post Nov 9 2003, 09:14 PM
Post #6


You haven't seen me if anybody asks...
****

Group: Members
Posts: 4,738
Joined: 14-June 03
From: USA
Member No.: 819
Region Association: Upper MidWest



Nice job Andy,

Thanks!!!! (IMG:style_emoticons/default/mueba.gif) (IMG:style_emoticons/default/mueba.gif) (IMG:style_emoticons/default/mueba.gif)

It knows who I am again!

Ken
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
seanery
post Nov 9 2003, 09:26 PM
Post #7


waiting to rebuild whitey!
***************

Group: Retired Admin
Posts: 15,854
Joined: 7-January 03
From: Indy
Member No.: 100
Region Association: None



I met Debbie Fields at a conference we were staging. We did a shoot with her in my hotel room. She's a hottie! She loaded us up with some cookies, too!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ChrisReale
post Nov 9 2003, 09:35 PM
Post #8


Sleazy
****

Group: Members
Posts: 2,665
Joined: 20-January 03
From: San Francisco
Member No.: 176



QUOTE(seanery @ Nov 9 2003, 07:26 PM)
We did a shoot with her in my hotel room. She's a hottie!

Can I download this on Kaaza? (IMG:style_emoticons/default/lol2.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jeroen
post Nov 9 2003, 09:45 PM
Post #9


914 Guru
*****

Group: Members
Posts: 7,887
Joined: 24-December 02
From: The Netherlands
Member No.: 3
Region Association: Europe



Great job Andy ! ! !

(IMG:style_emoticons/default/aktion035.gif) (IMG:style_emoticons/default/aktion035.gif) (IMG:style_emoticons/default/aktion035.gif) (IMG:style_emoticons/default/aktion035.gif)

Now if you can get this piece of cr@p to send out e-mails...
(IMG:style_emoticons/default/rolleyes.gif)

(have a few brewskies first though (IMG:style_emoticons/default/biggrin.gif))

cheers,

Jeroen
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
seanery
post Nov 9 2003, 09:52 PM
Post #10


waiting to rebuild whitey!
***************

Group: Retired Admin
Posts: 15,854
Joined: 7-January 03
From: Indy
Member No.: 100
Region Association: None



Nothing exciting to see. Our audio guy had the best (panty) shot though. He had to lay on the floor with the boom and had no option but to stare there (IMG:style_emoticons/default/cool.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
TheCabinetmaker
post Nov 9 2003, 10:19 PM
Post #11


I drive my car everyday
*****

Group: Members
Posts: 8,301
Joined: 8-May 03
From: Tulsa, Ok.
Member No.: 666



Andy, you da man! (IMG:style_emoticons/default/pray.gif) I don't have to log in anymore and my first unread post button works again, (IMG:style_emoticons/default/smilie_pokal.gif) but,,,,,,,,, When i close my browser and open it back, all the post are marked as unread again and takes me to the first post of the thread. (IMG:style_emoticons/default/sad.gif)
User is online!Profile CardPM
Go to the top of the page
+Quote Post
SirAndy
post Nov 9 2003, 10:23 PM
Post #12


Resident German
*************************

Group: Admin
Posts: 41,669
Joined: 21-January 03
From: Oakland, Kalifornia
Member No.: 179
Region Association: Northern California



QUOTE(vsg914 @ Nov 9 2003, 08:19 PM)
but,,,,,,,,, When i close my browser and open it back, all the post are marked as unread again and takes me to the first post of the thread. (IMG:style_emoticons/default/sad.gif)

hmmm, not for me. what are your browser settings? timezone-settings? cookies get deleted when closing the browser? can you check?

Andy
User is online!Profile CardPM
Go to the top of the page
+Quote Post
TheCabinetmaker
post Nov 9 2003, 10:36 PM
Post #13


I drive my car everyday
*****

Group: Members
Posts: 8,301
Joined: 8-May 03
From: Tulsa, Ok.
Member No.: 666



cookies are enabled. Temp int files are not not deleted when closing browser. It actually started working properly, but now I have no unread post boxes at all. Maybe it'll be like the 914 does sometimes and fix itself? (IMG:style_emoticons/default/confused24.gif)
User is online!Profile CardPM
Go to the top of the page
+Quote Post
SirAndy
post Nov 9 2003, 10:43 PM
Post #14


Resident German
*************************

Group: Admin
Posts: 41,669
Joined: 21-January 03
From: Oakland, Kalifornia
Member No.: 179
Region Association: Northern California



QUOTE(vsg914 @ Nov 9 2003, 08:36 PM)
It actually started working properly, but now I have no unread post boxes at all. Maybe it'll be like the 914 does sometimes and fix itself? (IMG:style_emoticons/default/confused24.gif)

on the main bbs page (where you can choose the forum) there's a link to mark all posts as unread. do that and see if it happens again ...

Andy
User is online!Profile CardPM
Go to the top of the page
+Quote Post
TheCabinetmaker
post Nov 9 2003, 10:50 PM
Post #15


I drive my car everyday
*****

Group: Members
Posts: 8,301
Joined: 8-May 03
From: Tulsa, Ok.
Member No.: 666



Andy, I was right for once! it fixed itself!!!! (IMG:style_emoticons/default/smilie_pokal.gif) Didn't do anything, but everything seems to work as before. Thank you for all your hard work.

Curt
User is online!Profile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 1st June 2024 - 06:17 PM