Re: [PHP] Session cookies in firefox

2005-05-11 Thread Kirsten
use IE 5.5+ (according to apache's statistics). Because I DO like Firefox I'm redesigning it, solving any incompatibilities like session handling. Why to have multiple sessions cookies? For example when an user wants to check multiple webmail accounts in the same moment. Kirsten -- PHP

[PHP] Session cookies in firefox

2005-05-10 Thread Kirsten
I'm using php sessions with cookies. I realized that Firefox shared cookies between different instances (unlike IE that when someone open a new bank window a new session is created). Has anyone found a solution to this problem? Maybe detecting the new instance and generating a new session id. Tha

[PHP] Session cookies in firefox

2005-05-10 Thread Kirsten
I'm using php sessions with cookies. I realized that Firefox shared cookies between different instances (unlike IE that when someone open a new bank window a new session is created). Has anyone found a solution to this problem? Maybe detecting the new instance and generating a new session id. Tha

[PHP] Sending htm as it's being generated

2005-05-08 Thread Kirsten
How do I make the browser to display data as it being generated? I've noticed some websites do this with cgi. For example: XXX <% $i = 0; while (true){ echo "" . $i++ . ""; sleep(1); } %> This scripts does not work: It only shows 0,1,2,3[29] when the timeout limit is reached. Any i

Re: [PHP] Reducing size of htm output

2005-05-06 Thread Kirsten
>preg_replace('/s+/', ' ', $html); > > but watch out, this js code will work: > > var v > alert(v) > > this one will not: > > var v alert(v) Sure but now: how do I access the htm output of the current executing script before it is send to the user? Thanks again > > > > > 1) Is there any func

[PHP] Reducing size of htm output

2005-05-06 Thread Kirsten
ny(){ somecode; } can be converted to Code B: function any(){ somecode; } 1) Is there any function to do this (I'm using PHP 4.2) ? Or maybe some user has already done it? 2) Is it true that ob_start("ob_gzhandler") can cause problems on IE 5.5+? Thanks a lot, Kirsten --