[UPHPU] session not working in page read with fsockopen

Wade Preston Shearer lists at wadeshearer.com
Fri Oct 3 20:02:28 MDT 2008


I have a script that is reading another script via fsockopen. The  
second script continues the user's session and echos out a variable in  
the session. When I load this second script in a web browser it  
correctly echo's out the variable but when fsockopen reads it it echos  
out nothing. I think that this is because fsockopen isn't providing  
all of the functionality that a browser does—namely, accepting cookies— 
and therefor now adequately carrying the session. Does anyone have any  
idea on how I could make this work?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20081003/cbb98c9f/smime.bin


More information about the UPHPU mailing list