SV: [PHP] --enable-trans-sid ?

2002-10-04 Thread Daniel Alsen

[EMAIL PROTECTED] propably said:

 I am trying to re-compile php 4.2.2. It seems that the option
 --enable-trans-sid is no longer there (but still in the manual).
 The reason for a re-compilation is that I was not able to have SID
 printed out. Here is the code I tried, but SID is empty: ?php
 session_start();
 echo SID;

Don?t know why you can't recompile. But try echoing PHPSESSID instead and
you should get it printed.

- D




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] --enable-trans-sid ?

2002-10-03 Thread try

Hi,

I am trying to re-compile php 4.2.2. It seems that the option
--enable-trans-sid is no longer there (but still in the manual).
The reason for a re-compilation is that I was not able to have SID
printed out. Here is the code I tried, but SID is empty:
?php
session_start();
echo SID;
?

However, session_id() does tells the current sid.

Anyone knows why. I am using linux (glibc=2.2.5 and kernel=2.4.18).

Thanks,

-T

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] --enable-trans-sid

2001-12-27 Thread phantom

Hello to my php friends!

I am trying to compile PHP with: ---enable-trans-sid

But when i test out pages, the only time a real session is propagated 
between pages is when i included the ?=SID? in the URL's (AND THIS 
WORKS GREAT!!!).

BUT, If I remove that PHP sniplet, the session restarts on every PHP 
page I load.  The PHP manuel specifically says that transparent ID 
enabled eliminates the need to do that.  Does anyone know what is going 
on by chance?

Does anyone have some insight as to why my transparent ID is not being 
passed between pages?  Thank you.

my source files are:

(1) php-4.1.1.tar.gz (2) mysql_3.23.46.tar.gz and (3) apache_1.3.22.tar.Z

my whole compile command is:

 ./configure --with-mysql --with-apacher=../apache_1.3.24 
--enable-track-vars --enable-trans-sid --with-imap --with-kerberos 
--with-imap-ssl

in php.ini, i have:

session.use_trans_sid = 1

when i check my config logs, it  says:

checking wether to enable transparent session id propagation . . . . yes



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] enable-trans-sid

2001-05-03 Thread Walgamotte, David

I upgraded from 4.0.4 to 4.0.5 and trans sid no longer works. Any ideas ?

DW

   




Re: [PHP] --enable-trans-sid and forms

2001-04-27 Thread Larry Hotchkiss

Its my understanding that PHP appends the SID on the end of the URL
regardless of weather its a form or not. If thats not happening for you,
check your php.ini and make sure you have session.use_trans_sid enabled.



Boget, Chris wrote:
 
 If you have PHP compiled with --enable-trans-sid,
 are the URLs that are part of the form's action supposed
 to be modified to include the SID?  So far that's not
 been happening and I just want to verify that this is
 expected behavior.
 
 thnx,
 Chris

-- 
Larry Hotchkiss
Universal Capital
612-551-9309
http://www.unicap.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread Boget, Chris

   Its my understanding that PHP appends the SID on the 
 end of the URL regardless of weather its a form or not. If thats 
 not happening for you, check your php.ini and make sure you 
 have  session.use_trans_sid enabled.

It is enabled.  And it's being appended to most URLs (though, not 
all, but that's another problem I posted to another thread).  
However, it's not being appended to any of my form's actions.

Chris



RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread Johnson, Kirk

Here is what I see in my FORM with --enable-trans-sid:

FORM METHOD=POST ACTION=./test_formRun.php
INPUT TYPE=HIDDEN NAME=PHPSESSID
VALUE=cbf75d263416e77d773b1772f6e1be89
INPUT TYPE=IMAGE  NAME=image
SRC=submit.gif?PHPSESSID=cbf75d263416e77d773b1772f6e1be89  ALIGN=top 

PHP is adding the HIDDEN field with the session id. For some reason, it also
appends it to the SRC attribute of the image submit button, but doesn't add
it in the ACTION url.

Kirk

 -Original Message-
   Its my understanding that PHP appends the SID on the 
 end of the URL
 regardless of weather its a form or not.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread Boget, Chris

 Here is what I see in my FORM with --enable-trans-sid:
 FORM METHOD=POST ACTION=./test_formRun.php
 INPUT TYPE=HIDDEN NAME=PHPSESSID
 VALUE=cbf75d263416e77d773b1772f6e1be89
 PHP is adding the HIDDEN field with the session id. For some 
 reason, it also appends it to the SRC attribute of the image submit 
 button, but doesn't add it in the ACTION url.

I'm not getting that, either...  This is sooo funky.  Sometimes
the --enable-trans-sid works and sometimes it doesn't.  I just
wish there was some consistency about it so I could trouble
shoot where the problem is coming from.
*sigh*.

Chris



RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread PHPBeginner.com

have you checked your PHP.INI file?

it sais there what links to rewrite.


Sincerely,

 Maxim Maletsky
 Founder, Chief Developer

 PHPBeginner.com (Where PHP Begins)
 [EMAIL PROTECTED]
 www.phpbeginner.com




-Original Message-
From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 28, 2001 12:16 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] --enable-trans-sid and forms


Here is what I see in my FORM with --enable-trans-sid:

FORM METHOD=POST ACTION=./test_formRun.php
INPUT TYPE=HIDDEN NAME=PHPSESSID
VALUE=cbf75d263416e77d773b1772f6e1be89
INPUT TYPE=IMAGE  NAME=image
SRC=submit.gif?PHPSESSID=cbf75d263416e77d773b1772f6e1be89  ALIGN=top 

PHP is adding the HIDDEN field with the session id. For some reason, it also
appends it to the SRC attribute of the image submit button, but doesn't add
it in the ACTION url.

Kirk

 -Original Message-
   Its my understanding that PHP appends the SID on the
 end of the URL
 regardless of weather its a form or not.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread Johnson, Kirk

Thanks, Maxim, I hadn't seen the url_rewriter.tags entry in php.ini before.
A search of the PHP manual only returns one unhelpful reference, tho. Any
idea where to find some documentation on this?

TIA

Kirk

 -Original Message-
 From: PHPBeginner.com [mailto:[EMAIL PROTECTED]]
 
 have you checked your PHP.INI file?
 
 it sais there what links to rewrite.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] --enable-trans-sid and forms

2001-04-27 Thread Boget, Chris

 have you checked your PHP.INI file?
 it sais there what links to rewrite.

This is what is in my .ini.  

url_rewriter.tags = a=href,area=href,frame=src,input=src,form=fakeentry ;
added 3/2/01

Am I missing something here that I should have?  
I don't see anything in the docs about the above 
directive.
Also, note, as I said in a problem I posed in another 
thread, there are some links where the SID is added 
while there are some that it isn't added.  This happens 
in different pages, though.  So while there will be pages 
where *all* the links will have the SID added, there
will be pages where *none* of them have the SID included.  
(though, it is never the case where there is a page
where some have the SID included while some do
not)
And this could be one page right after the other.

This is very odd and *very* frustrating.

Chris



RE: [PHP] --enable-trans-sid and forms

2001-04-26 Thread Johnson, Kirk

Chris, I'm not sure what is supposed to happen, but what is happening for me
is that a HIDDEN field is added to my form with the sid as the value:

INPUT TYPE=HIDDEN NAME=PHPSESSID
VALUE=b8146b40fbc336b319eda9b7073691e0

Kirk

 -Original Message-
 From: Boget, Chris [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 26, 2001 3:09 PM
 To: Php (E-mail)
 Subject: [PHP] --enable-trans-sid and forms
 
 
 If you have PHP compiled with --enable-trans-sid, 
 are the URLs that are part of the form's action supposed
 to be modified to include the SID?  So far that's not
 been happening and I just want to verify that this is
 expected behavior.
 
 thnx,
 Chris
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] --enable-trans-sid

2001-04-23 Thread Boget, Chris

 I wasn't able to find this in the docs, so could someone
 tell me exactly how --enable-trans-sid is supposed to work
 behind the scenes?
 while it won't for this url:
 
 a href=/interactive/direct_apply/resident.php 
 target=_tophere/a

I've also tried...

a href=/interactive/direct_apply/resident.php 
target=_blankhere/a

  It makes no sense to me...
 Any help would be greatly appreciated!!

Ok, I found one of my problems but I didn't find the other.
Again, I have 2 frames.  The above link is in the left frame.
In the frame, in the actual page, I'm printing out the the
value of $PHPSESSID and it is showing a value.  So I know
the session has been started.  I click on the above link to
get to the next page and the next page isn't getting the 
$PHPSESSID passed to it.  
I have --enable-trans-sid turned on and it's working in most 
places.  However, it's not working in all places.  Can anybody
guess as to what is going on?  Why wouldn't PHP automagically
transmit the SID to the next page (append it to the href) as
it should with --enable-trans-sid turned off.

One last thing of note - this works when cookies are turned
on.  The $PHPSESSID gets set as a cookie and it's all good.
Now, I'm going through my pages with cookies turned off
to make sure that nothing in the site breaks... I want to 
make sure users w/cookies turned off can use my site, too.
In doing this I made the following configuration settings:

IE: Tools-Internet Options-Security-Custom Level-
Cookies and I said disable for both:
Allow cookies that are stored on your computer
Allow per session cookies

NS: Edit-Preferences-Advanced-Disable Cookies

Again, any help would be greatly appreciated!

Chris



[PHP] --enable-trans-sid

2001-04-20 Thread Boget, Chris

I wasn't able to find this in the docs, so could someone
tell me exactly how --enable-trans-sid is supposed to work
behind the scenes?

Why would this option work and transmit the SID for
this url:

a href="/interactive/secure_frame.php?sourcePage=? echo urlencode(
"/interactive/direct_apply/resident.php" ); ?" target="_top"here/a

while it won't for this url:

a href="/interactive/direct_apply/resident.php" target="_top"here/a

It makes no sense to me...
Any help would be greatly appreciated!!

Chris



RE: [PHP] --enable-trans-sid

2001-04-20 Thread Boget, Chris

 I wasn't able to find this in the docs, so could someone
 tell me exactly how --enable-trans-sid is supposed to work
 behind the scenes?
 Why would this option work and transmit the SID for
 this url:
 while it won't for this url:
 It makes no sense to me...
 Any help would be greatly appreciated!!

Never mind...  I know what's happening.
Please accept my apologies.  My brain is mush today... :(

Chris



Re: [PHP] --enable-trans-sid

2001-04-20 Thread Martín Marqués

On Sb 21 Abr 2001 00:27, Boget, Chris wrote:
  I wasn't able to find this in the docs, so could someone
  tell me exactly how --enable-trans-sid is supposed to work
  behind the scenes?
  Why would this option work and transmit the SID for
  this url:
  while it won't for this url:
  It makes no sense to me...
  Any help would be greatly appreciated!!

 Never mind...  I know what's happening.
 Please accept my apologies.  My brain is mush today... :(

Hey, never mind! It's Friday!!! :-)

Saludos... ;-)

-- 
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-
Martin Marques  |[EMAIL PROTECTED]
Programador, Administrador  |   Centro de Telematica
   Universidad Nacional
del Litoral
-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]