session with output compression?

This is a discussion on session with output compression? within the PHP General forums, part of the PHP Programming Forums category; Hi List, I wanna use PHP's session management with output compression, but I have the following problem: Session-IDs ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-10-2003
Matthias Nothhaft
 
Posts: n/a
Default session with output compression?

Hi List,

I wanna use PHP's session management with output compression,
but I have the following problem:

Session-IDs are not automatically appended to URLs. :-(

The compression works fine and makes the page nice for slow internet
connections.

The session management works also fine, but only with cookies :-(

I guess the problem is that PHP can not append SID in (g)ziped output!?...

But is there a way to get this work with output compression?

Any hints would be great!


Regards,
Matthias
Reply With Quote
  #2 (permalink)  
Old 12-10-2003
Chris Shiflett
 
Posts: n/a
Default Re: [PHP] session with output compression?

Hi Matthias,

--- Matthias Nothhaft <php@mahono.de> wrote:
> I wanna use PHP's session management with output compression,
> but I have the following problem:
>
> Session-IDs are not automatically appended to URLs. :-(


[snip]

> I guess the problem is that PHP can not append SID in (g)ziped
> output!?...


I don't think this is the problem, but I might be wrong. Are you saying
that if you disable compression, everything works fine?

What is the value of session.use_trans_sid?

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security Handbook
Coming mid-2004
HTTP Developer's Handbook
http://httphandbook.org/
Reply With Quote
  #3 (permalink)  
Old 12-10-2003
Jason Wong
 
Posts: n/a
Default Re: [PHP] session with output compression?

On Wednesday 10 December 2003 23:56, Chris Shiflett wrote:

> --- Matthias Nothhaft <php@mahono.de> wrote:
> > I wanna use PHP's session management with output compression,
> > but I have the following problem:
> >
> > Session-IDs are not automatically appended to URLs. :-(

>
> [snip]
>
> > I guess the problem is that PHP can not append SID in (g)ziped
> > output!?...

>
> I don't think this is the problem, but I might be wrong. Are you saying
> that if you disable compression, everything works fine?


This was definitely an issue in the 4.0.6 days, that is transparent sessions
do not work when using compression. But IIRC this was fixed in some later
version.

--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Anarchy may not be a better form of government, but it's better than no
government at all.
*/
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 01:47 AM.


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