Re: Re: [PHP-WIN] Re: SESSION

2005-02-11 Thread Vaibhav Sibal
from time to time :) > > > Original Message > Subject: Re: [PHP-WIN] Re: SESSION > Date: Fri, 11 Feb 2005 11:43:24 +0530 > From: Vaibhav Sibal <[EMAIL PROTECTED]> > Reply-To: Vaibhav Sibal <[EMAIL PROTECTED]> > To: php , Jason Barnett > &

Re: [PHP-WIN] Re: SESSION

2005-02-11 Thread Vaibhav Sibal
Thanks Jason ! It'll be great if you could also tell me whether I can launch applications like MS WORD using COM or any other technology. Basically I want the user sitting on a client machine to select a file from a list and press the open button (which I will provide) and the action linked to the

Fwd: Re: [PHP-WIN] Re: SESSION

2005-02-11 Thread Jason Barnett
files you allow people to edit and put on the server. You probably already know that, but it doesn't hurt to be reminded from time to time :) Original Message -------- Subject: Re: [PHP-WIN] Re: SESSION Date: Fri, 11 Feb 2005 11:43:24 +0530 From: Vaibhav Sibal <[EMAIL PROTECTED]&g

[PHP-WIN] Re: SESSION

2005-02-10 Thread Jason Barnett
Vaibhav Sibal wrote: I wanted to ask, where is the Session information stored ? That is at the server or on the client. Because I need to give the session.save_path value in the php.ini. I would give it according to people's reply of this question. Thank you. Vaibhav session.save_path is located on

[PHP-WIN] Re: session expiration problem

2004-11-02 Thread nightwalker
Jason Barnett wrote: Hmmm, do you mean the old session values are being carried forward? Perhaps some code is in order here. Yes. I also tried to increase the gc_probability value, so there will be 100% chance that the session data will be seen as garbage, but it still doesn't work. Of course I

[PHP-WIN] Re: session expiration problem

2004-11-02 Thread Jason Barnett
Nightwalker wrote: Hi. When I set session expiration using: ini_set('session.gc_maxlifetime','3'); and I refresh page after 10 seconds or even change my system time to a few hours ahead, the session variables still exist. It doesn't work even Hmmm, do you mean the old session values are being c

[PHP-WIN] Re: Session On Window [Urgent]

2004-07-07 Thread Rhemax
You must set a tmp directory for created sesssion files; edit php.ini and look for: session.save_path = /tmp replace it with say: session.save_path = C:/temp where C:/temp must exist and must be writable by PHP user /* Rhemax */ "M. Imran Khan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL

[PHP-WIN] Re: Session On Window [Urgent]

2004-07-06 Thread Jason Barnett
M. Imran Khan wrote: Dear Users, Can I manage the PHP session on windows. I am running the Apache 1.3 and PHP. I got the warning: Warning: open(/tmp\sess_2b69db87d2a153561e2972b4fb5eac3c, O_RDWR) failed: m (2) in c:\program files\apache group\apache\htdocs\test\sess.php on line 2 Please can some o

[PHP-WIN] Re: Session and Cookie error on Windows+Apache

2004-05-07 Thread Kapten Nemo
Seems to be my php scripts are only run on Windows+IIS :( and couldn't migrate to Windows+Apache. I write small and short scripts to test the session under Windows+Apache, then it run well, Seems that i should rewrite the scripts so it will run on both IIS and Apache. thank you Jonathan Pilboro

[PHP-WIN] Re: Session and Cookie error on Windows+Apache

2004-05-06 Thread romain bourdon
This sounds weired but try to have a look at your IE settings. If cookies don't work on your IE (on the client machine, not the server of course), your sessions won't either (unless you use session.use_trans_sid) : sessions use cookies to keep their Id, if PHP doesn't find an ID (a cookie), he wil

[PHP-WIN] Re: Session and Cookie error on Windows+Apache

2004-05-06 Thread Jonathan Pilborough
register_globals is set to off by default, so you will have to use the $_SESSION[] superglobal to access the session variables - is this why it appears a new session has been created? - also check session_start() in all pages. You could try telnet-ting the page e.g. HEAD /cookietest.php HTTP/1.0

[PHP-WIN] Re: Session and Cookie error on Windows+Apache

2004-05-04 Thread Kapten Nemo
I've set variables for session.save_path = c:/php4/tmp in the php.ini, when starting request from the browser to the server (Win+Apache+PHP) for example http://localhost/test/test_session.php the temporary sessions files are created, and stored session information. When second request arrived to th

[PHP-WIN] RE: Session and Cookie error on Windows+Apache

2004-05-04 Thread Jonathan Pilborough
In my (limited)experience, session variables won't work with Apache on windows until you set the session.save_path variable in the php.ini file to a directory for the temporary session files to go in. Why it works in IIS I'm not sure - I have never used it. Regards, Jonathan Pilborough = --

[PHP-WIN] Re: Session destruction FAILED

2004-03-29 Thread Jason Barnett
Can you give us some code to try to reproduce the error? Without seeing anything, my guess is you use a function to destroy sessions and it is being called when it shouldn't be. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Session problem

2004-03-25 Thread Roman A Mikhailov
>I want to know how can i do to make the session dont expire?. i have an >application that works with sessions, when i left the browser open for a >while, i dont know maybe 30 minutes, when i try to go into a section it >throw me an error, for session expire, how can i fic that?. HI! / cookies

[PHP-WIN] Re: Session Variables Problem (Missing)

2004-01-13 Thread hubo
Now it is clear that the problem is in your own PHP setting. In your php.ini file there is a section entitled as "session". Have you changed anything there? You might want to post this section here. Since PHP saves the session information to a directory it is important to be sure that the director

RE: [PHP-WIN] Re: Session Variables Problem (Missing)

2004-01-13 Thread Svensson, B.A.T. (HKG)
[PHP-WIN] Re: Session Variables Problem (Missing) Thanks Hubo, When I make a page with that code ... it always says 'New Session'. No matter what I do the 'Session Variable Saved' never shows up. Brad "Hubo" <[EMAIL PROTECTED]> wrote in message news:[EMA

[PHP-WIN] Re: Session Variables Problem (Missing)

2004-01-12 Thread Brad Lawryk
Thanks Hubo, When I make a page with that code ... it always says 'New Session'. No matter what I do the 'Session Variable Saved' never shows up. Brad "Hubo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The code shown below is a complete php script for you. Save these lines into

[PHP-WIN] Re: Session Variables Problem (Missing)

2004-01-10 Thread hubo
The code shown below is a complete php script for you. Save these lines into a file, for example, 1.php, and try to visit it from a browser. "Brad Lawryk" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Thanks Hubo, > > Where would I nsert that coding? The coding should be fine

[PHP-WIN] Re: Session Variables Problem (Missing)

2004-01-09 Thread Brad Lawryk
Thanks Hubo, Where would I nsert that coding? The coding should be fine though as the page works flawlessly on a Linux Server? Brad "Hubo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > To be sure that there is no coding error, just try this simple code: > ' Begin ===

[PHP-WIN] Re: Session Variables Problem (Missing)

2004-01-09 Thread hubo
To be sure that there is no coding error, just try this simple code: ' Begin == '== End == I have got no problem about the session variables on my W2K system with both IIS and Apache installed. By the way, since the php.ini is the same both for IIS

[PHP-WIN] Re: Session Problem

2004-01-06 Thread Robert Schmelzer
I thinks its a problem of configuration. Perhaps there is the configuration variable session.use_cookies set to true. Then the closing of the browser does not cause the session to be destroyed. greetings Robert "Meteorlet" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > > Hi,

[PHP-WIN] Re: Session Problem

2004-01-06 Thread Meteorlet
hubo,Hello! yes,maybe you are right.but after I clear my cache it will be the same.only if I clear my cookies and it will be my expectation.I just wanna know why different host will have difference about session even with the same configuration? I remember that ASP's Session will be destor

[PHP-WIN] Re: Session Problem

2004-01-06 Thread hubo
Be sure that it is a problem about session. Sometimes the page shown is just from the cache of your browser. "Meteorlet" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > > Hi,everyone! > I got a problem about SESSION.When we use Seesion to store information, > we hope that the s

[PHP-WIN] Re: Session Managment

2003-10-07 Thread Kevin
Yes it does. Now only because the script is using mysql to store the session info does it not work. "Rahman Haqparast" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does your C:\tmp exist? > > "Kevin" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I have setup a

[PHP-WIN] Re: Session Managment

2003-10-07 Thread Rahman Haqparast
Does your C:\tmp exist? "Kevin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have setup a php page to use mysql and PHP's session handling. The logon > page displays just fine but when I try and log into the page IE give me the > page can not be displayed. I have the session.sav

[PHP-WIN] Re: Session prob

2003-10-05 Thread Fernando Correa da Conceição
Use session_start(). -- Fernando Correa da Conceição ICQ 168518047 http://manualphp.sourceforge.net Participe da Tradução do Manual do PHP "Disko_kex" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] Why isn´t this working? Is there something I done wrong during the installat

[PHP-WIN] Re: Session not working

2003-07-31 Thread Voodoo
I was having troubles with my session.save_path configuration. It is solved now. Thanks to all, Voodoo -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Session not working

2003-07-30 Thread Sek-Mun Wong
1) Verify that you've specified (and created) your sessiondata (usually {drive:}/php/sessiondata directory, 2) check to see if a session id has been written there. 3) if not, make sure that the apache logon (usually localsystem) has access to write to sessiondata (which it should have by default).

[PHP-WIN] Re: Session not working

2003-07-30 Thread Rob Adams
"Voodoo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm using a local Apache 1.3 server on WinXP, and I've gotta test some php > scripts at home, can't publish them. I'm trying to set some session vars, > but the variables simply disappear when I try to use them again. Made the >

[PHP-WIN] Re: session

2002-12-16 Thread Wojciech Owczarek
Cause you refreshed it and there was session_start(); which created new session. Afaik from php 4.0.sth you don't have to use ession_start at all. You can use it only when you _really want_ to start a new session, ending the last one. Just registering some sessvar creates session already. Try to

[PHP-WIN] Re: Session Variables

2002-12-04 Thread Christoph Grottolo
Jed R. Brubaker wrote: > I am having a problem with a simple script that uses session > variables. It is a user authentication script and none of my users > have had any problems with the exception of one individual. The > session variables simply don't carry over. I am half convinced that > it is

[PHP-WIN] Re: session under windows

2002-09-25 Thread neil smith
Hi It looks like you have set a session save handler as 'user' rather than 'files' PHP allows you to define user functions for saving session data (for example to a DB opn large sites over multiple servers). You are looking for session files in your directory, whereas PHP expects you to have

[PHP-WIN] Re: Session

2002-09-17 Thread Ernani Joppert Pontes Martins
Set php.ini session_save_path to whereever u want to. HTH, Ernani "Ib Helmer Nielsen" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > I am new in programming in PHP, so my question is purhaps stupid but never > the less. > The problem is the followin

[PHP-WIN] Re: SESSION QUESTION

2002-07-15 Thread Tomator
> Is there a bug in php4.2.1 dealing with sessions? I am using $_SESSION to > set my session variables and it will not work. Can anyone offer examples > that they have used that work? I am going insane. I had similar problem, so I realized that $_SESSION["name"]=value starts working after som

[PHP-WIN] Re: SESSION QUESTION

2002-07-13 Thread Johannes Hiemer
Do you have got session_start(); at the beginning of every Script? Ciao Johannes "Kit Kerbel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is there a bug in php4.2.1 dealing with sessions? I am using $_SESSION to > set my session variables and it will not

[PHP-WIN] Re: Session - funny or magic?

2002-07-08 Thread Scott Hurring
I assure you, it's not magic, and it doesn't stop working "without reason" - there's always a reason with computers :) Could you please send a code snippet so we can see exactly what you're doing? -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Tomator" <[EMAIL PROTECTE

RE: [PHP-WIN] Re: Session information not stored in php 4.1.2

2002-04-10 Thread Lee, Ford
4.1.1 works perfectly well but when they introduced 4.1.2, there was a bug that was introduced also. -Original Message- From: Martin Kemp [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 5:24 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Re: Session information not stored in

RE: [PHP-WIN] Re: Session information not stored in php 4.1.2

2002-04-10 Thread Martin Kemp
ut the need for session_register, etc. It was when I installed 4.1.2 that my problems started. Thanks again, Martin Kemp > -Original Message- > From: Lee, Ford [mailto:[EMAIL PROTECTED]] > Sent: 09 April 2002 3:05 > To: Fabian Deutsch; [EMAIL PROTECTED] > Subject: RE: [PHP-WI

RE: [PHP-WIN] Re: Session information not stored in php 4.1.2

2002-04-09 Thread Lee, Ford
ug.php?id=16435 At http://www.php.net/~derick/ you can find RC2. -Original Message- From: Fabian Deutsch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 8:45 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re: Session information not stored in php 4.1.2 Hey Martin, I've got t

[PHP-WIN] Re: Session information not stored in php 4.1.2

2002-04-09 Thread Fabian Deutsch
Hey Martin, I've got the same problem with php4.1.2 as an apache module. As far as i could find out the whole thing depends on the php4ts.dll (using win2k). Probably it's a bug in 4.1.2? fabian deutsch "Martin Kemp" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 000801c1dfac$32985ea0$[EMAIL PROTECTE

[PHP-WIN] Re: Session Destroy with IE6

2002-04-08 Thread Webmaster
If you mean that Internet Exlorer doesn't refresh pages, there's a "solution" available from Microsoft, but even with that I am not satisfied The solution is: But this only works when you have configured IE the right way, so with deleting all cache content on browser close and check on webp

[PHP-WIN] Re: Session read problem

2002-03-16 Thread Sviss Cobazor
Remember that a session is normally bound to the the browser window setting it, so if you close down that browser window and open a new one the session_start() will correctly start a session but with another unique session name so it will not access you old session variables since the session now

[PHP-WIN] Re: Session problem...

2002-02-15 Thread Nicole Amashta
Like the message suggests, it's a safety precausion. This is so you can't go around and push back buttons on browsers in public environments so to retrieve people's data. Say you were checking your mail on a public terminal. If anyone could go back on the browser, they could check your mail. Pur

[PHP-WIN] Re: Session

2002-01-25 Thread Alan McFarlane
Check your php.ini - I think by default it tries to create session files in the /tmp/ folder which you may not have as my NT (NT4 Workstation SP5) only creates a /temp/ folder. Snowdrop <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I use php4.1.1 + IIS4 + NT4

[PHP-WIN] Re: Session and Header function

2002-01-23 Thread Charlie Killian
Make sure you session_write_close() before you redirect so the session data has a chance to be written. Charlie "St Ooi" <[EMAIL PROTECTED]> wrote in message 005001c1a302$9d1f97c0$010a@mis">news:005001c1a302$9d1f97c0$010a@mis... I have a problem with session and redirection. I have setu

[PHP-WIN] Re: Session question

2001-12-19 Thread Michel Laine
The tut i was going to direct you to is no longer available at their website, so i am attaching my local copy of it (PDF). Hope this help. [EMAIL PROTECTED] wrote: > I was wondering how I can stop the following message from posting when a > user hits the back button when I am using sessions? >

[PHP-WIN] Re: session open failed and header() don't redirect

2001-10-11 Thread Robert W. Biddle
I had the same problem with my website earlier my problem was I didn't have permission for the IIS/Guest user to write to my session directory. That gave me the same error you got, so you might wanna check it out. -Rob [EMAIL PROTECTED] "Web User" <[EMAIL PROTECTED]> wrote in message 002601c

Re: [PHP-WIN] Re: session open failed and header() don't redirect

2001-10-10 Thread Mike Flynn
At 09:21 AM 10/10/2001 +0200, Michel Laine wrote: >"Warning: Cannot add header information - headers already sent by (output >started at c:\program files\apache group\apache\htdocs\web1\1.php:2) in >c:\program files\apache group\apache\htdocs\web1\1.php on line 6" > >Seems to me that you have some

[PHP-WIN] Re: session open failed and header() don't redirect

2001-10-09 Thread Michel Laine
"Warning: Cannot add header information - headers already sent by (output started at c:\program files\apache group\apache\htdocs\web1\1.php:2) in c:\program files\apache group\apache\htdocs\web1\1.php on line 6" Seems to me that you have some HTML output (probably in the .INC file) and then try t

[PHP-WIN] Re: session timeout

2001-10-08 Thread Stanley Cheung
yup, i found some parameter for SESSION, but it has any effect when i change the value... pls advise and help. thx! Stanley "Michel Laine" <[EMAIL PROTECTED]> ? [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Stanley wrote: > > > Hi all, > > > > can anyone tell me how can config "session timeo

[PHP-WIN] Re: session timeout

2001-10-08 Thread Michel Laine
Stanley wrote: > Hi all, > > can anyone tell me how can config "session timeout" > i know the default time is 180min, how can i make it shortly? > > pls advise. thx a lot! > > Stanley Did you look in PHP.INI ? I'm sure you'll find it in there. -- Michel Laine -- PHP Windows Mailing List (h

[PHP-WIN] Re: session

2001-09-28 Thread GF
You could have an onUnload event in javascript trigger a call to a php script to do a session_end. Gaylen http://www.gaylenandmargie.com KISGB - PHP Guestbook http://www.gaylenandmargie.com/publicscripts/ "Sichta Daniel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTE