|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am using fopen to fetch and include the contents of a file into another. Shoudl the sessions be available to the file that was retrieved using fopen or do I have to specify the session ID in the URL?
thanks again -nathan
__________________
with logic as our scripture and knowledge as our savior we will overcome any and all tests on our horizon |
|
#3
|
|||
|
|||
|
I'll get back to you on that...
|
|
#4
|
|||
|
|||
|
Quote:
OK - I emailed the developers to answer this question because honestly I do not know. I am only trying to help solve the problem. With that in mind, are sessions available to files that are included using fopen? -nathan ![]() |
|
#5
|
|||
|
|||
|
$_SESSION is an autoglobal but $HTTP_SESSION_VARS is not.
So should be. so they are fopening a .php file and eval'ing though it? i say replace the fopen fread close loop with an include. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > Fopen and sessions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|