Forum Moderators: coopster

Message Too Old, No Replies

Allowing session on local machine

testing a PHP editor

         

henry0

2:26 pm on Oct 15, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am testing an interesting PHP editor: DZsoft
which seems to be quite nice
I connected it with my own PHP 4.3.3 for win 32
and to my local Apache 1.3.14 for win 32
as well as to my local MySQL

For trial purpose I have loaded a few scripts
I know that the scripts are doing fine (run since months) on my production server

However after I loaded those scripts to my local machine
an article that is identified through its ID wont be displayed "there is no ID # .." of course the article and its ID exists
but the reason why it does not open is due to non created session
How can I locally allow session?
Is it related to my PHP.ini?
Thanks
Regards

Henry

jatar_k

4:37 pm on Oct 16, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



All of the session settings from php.ini are mentioned here

PHP Session handling functions [ca.php.net]

maybe take a look and see if you can see something

henry0

4:52 pm on Oct 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thank you

henry

henry0

6:13 pm on Oct 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just revisiting the post; it can help any other coder in the same quandary -
I would like thanking jatar_k, pointing me to the PHP ini setup from the php manual site.

At first it puzzled me for I tried many setup without success
Including setting session. Auto_start to 0 which works in a non object mode, so very limited option.

But (sometime I will learn how to take time and breath!) I then found a note on
/temp location when running php on a local test bed (MS)
that needs instead of default : “/tmp” to be set to full path such as
c:/apache/php/tmp
et voila!
Regards
Henry

<edit>
Just want to let you know that I built a few php scripts and pages out of the editor I was testing (DzSoft)
FYI i realy like it
after the trial time I 'll pay for it and keep it
</edit>

louponne

1:55 pm on Oct 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hey henry0, you may want to try PHP Expert Editor also - seems to have been developed from the same core as DZ, but slightly more robust.