[PHP] Re: session timeout?

2004-02-24 Thread Catalin Trifu
Hi, You have to make the code yourself, After session_start you should check the session for some variable you use to check if the user is logged in eg: C. "Jake McHenry" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] How can I make my site auto log out a use

[PHP] Re: Session, loging users in.

2004-02-14 Thread memoimyself
Hello Philip, On 14 Feb 2004 at 18:48, Philip J. Newman wrote: > Whats the best information to add to a session to say a user is logged in? > > I currently have $siteUserLogIn="true"; > > anything else that I could add to beef up security? You'll find an in-depth answer to your question in an

[PHP] Re: Session not working...

2004-01-25 Thread Vernon
Figured it out. Had to turn on RegisterGolbals (which I had, but didn't restart Apache). Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: session expires

2004-01-13 Thread Manuel Vázquez Acosta
>"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >Manuel Vázquez Acosta wrote: > >> A tricky way to achive this is: >> 1. Start the session when the user request the login page >> 2. Send a hidden field with the PHPSESSID >> 3. When receiving the post compa

Re: [PHP] Re: session expires

2004-01-13 Thread Marek Kilimajer
Manuel Vázquez Acosta wrote: A tricky way to achive this is: 1. Start the session when the user request the login page 2. Send a hidden field with the PHPSESSID 3. When receiving the post compare the current session id with the submitted by the form, if they match it's likely the sessi

[PHP] Re: session expires

2004-01-13 Thread Manuel Vázquez Acosta
A tricky way to achive this is: 1. Start the session when the user request the login page 2. Send a hidden field with the PHPSESSID 3. When receiving the post compare the current session id with the submitted by the form, if they match it's likely the session has not expired. Other sol

RE: [PHP] Re: Session expiry issues in IE, still.

2004-01-06 Thread Larry Brown
atthew Weier O'Phinney [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 9:08 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Session expiry issues in IE, still. * Tarrant Costelloe <[EMAIL PROTECTED]>: > I wrote to the list a couple of days ago about issues Planet-Tolkien.com > m

[PHP] Re: Session expiry issues in IE, still.

2004-01-05 Thread Matthew Weier O'Phinney
* Tarrant Costelloe <[EMAIL PROTECTED]>: > I wrote to the list a couple of days ago about issues Planet-Tolkien.com > members were experiencing with Internet Explorer, where their PHP based > $_SESSION seemed to be expiring very speradically, where as Mozilla and > Opera browsers this issue was not

[PHP] Re: Session Variables Disappear and Reappear

2004-01-01 Thread Jerry Kita
For those interested I was able to get to the bottom of this issue. My hosting supplier uses multiple servers to do load balancing. As such the folder in which the session variables were stored was stored in a /tmp file on each of the servers. That explained why the session variables would randomly

[PHP] Re: SESSION Query

2003-12-27 Thread Andy Higgins
Hi Aniruddha, Try using session_start(); $HTTP_SESSION_VARS['session_referer'] = "abc.com"; and if (session_is_registered('session_referer')) go to abc.com; Regards, Andy "Aniruddha" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi PhpTeam, > > Iam runing PHP 4.3.0 on Apache

[PHP] Re: Session vars not echoing?

2003-11-20 Thread Jas
Yeah I did that, sorry I just didn't note it in the snippit.. and it is now working with the $_SESSION function, i just had to restart the browser to clear the cache after updating the code. jas Pete M wrote: need to issue a session_start() at top of page Pete Jas wrote: Not sure why this i

[PHP] Re: Session vars not echoing?

2003-11-20 Thread pete M
need to issue a session_start() at top of page Pete Jas wrote: Not sure why this is happening but I think it has something to do with an include statement... [Server environment] Apache/2.0.47 (Unix) DAV/2 PHP/4.3.3 register_globalsOnOn report_memleaksOnOn safe_modeOffO

RE: [PHP] Re: Session hijacking

2003-10-19 Thread Radek Zajkowski
Behalf Of J. Cox > Sent: October 19, 2003 5:30 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Session hijacking > > > > "Ryan A" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > NO! Globals are on > > And asking the others t

Re: [PHP] Re: Session hijacking

2003-10-19 Thread Becoming Digital
DXEBBWTYUU - Original Message - From: "J. Cox" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, 19 October, 2003 20:30 Subject: [PHP] Re: Session hijacking "Ryan A" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > NO! Glob

[PHP] Re: DvDanDT->Re: [PHP] Re: Session hijacking

2003-10-19 Thread DvDmanDT
The 'above' would make all items of $_SESSION array into variables... Errm.. $_SESSION["id"] would become $id, $_SESSION["username"] would become $username and so on... Not completely sure this'll work, but most likely as they already exist and you only change their values, so they should remain g

[PHP] DvDanDT->Re: [PHP] Re: Session hijacking

2003-10-19 Thread Ryan A
Hey, Thanks for replying. ** $_REQUEST is a great superglobal, check it out... And at the top of the hijacked script: while(list($tmp1,$tmp2)=each($_SESSION)) $$tmp1=$tmp2; $tmp1=tmp2=NULL; Could work.. :p Can you tell me what the above does please? (am quite a

[PHP] Re: cok->Re: [PHP] Re: Session hijacking

2003-10-19 Thread DvDmanDT
$_REQUEST is a great superglobal, check it out... And at the top of the hijacked script: while(list($tmp1,$tmp2)=each($_SESSION)) $$tmp1=$tmp2; $tmp1=tmp2=NULL; Could work.. :p -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Ryan A" <[EMAIL PROTECTED]> skrev i meddelandet news:[EM

[PHP] cok->Re: [PHP] Re: Session hijacking

2003-10-19 Thread Ryan A
Hey, > Use an ini_set in your sessions script (I am assuming that you are using a > seperate script to manage your sessions) Not really, I use authenticate for the login, then above each script i have a session_start() throughout the site. Its gotten to be a habit that i start a script with sessi

[PHP] Re: Session hijacking

2003-10-19 Thread J. Cox
"Ryan A" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > NO! Globals are on > And asking the others they tell me that around 20% of the scripts (around > 300 scripts) wont function with globals off :-( > > What to do? Use an ini_set in your sessions script (I am assuming that yo

[PHP] Re: Session hijacking

2003-10-19 Thread Ryan A
NO! Globals are on And asking the others they tell me that around 20% of the scripts (around 300 scripts) wont function with globals off :-( What to do? Please help. -Ryan P.S how can you do this even with globals on? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: Session data is lost

2003-09-30 Thread Gal
please paste an example of the 2 pages Harald Kürsten wrote: Hi. In my script I start a session, register certain variables and redirect to the next page. The session file is written to /tmp, but contains no data ! Any idea ? Thanx for help, Harald -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: session-problem

2003-09-02 Thread Curt Zirzow
* Thus wrote Juerg Zgraggen ([EMAIL PROTECTED]): > :-) cool thank you! > is any "$_"-variable superglobal? $_REQUEST, $_POST, ...? Correct. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] Re: session-problem

2003-09-01 Thread Juerg Zgraggen
:-) cool thank you! is any "$_"-variable superglobal? $_REQUEST, $_POST, ...? cheers, jazper "Curt Zirzow" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > * Thus wrote Juerg Zgraggen ([EMAIL PROTECTED]): > > Probably i got the problem... but i don't know how to solve it!!!

Re: [PHP] Re: session-problem

2003-09-01 Thread Curt Zirzow
* Thus wrote Juerg Zgraggen ([EMAIL PROTECTED]): > Probably i got the problem... but i don't know how to solve it!!! > > i include one of my class. > in the constructor of this class i did a global... > global $_SESSION; > > as soon as i delete that line. my script works perfect... > > is this n

[PHP] Re: session-problem

2003-09-01 Thread Juerg Zgraggen
Probably i got the problem... but i don't know how to solve it!!! i include one of my class. in the constructor of this class i did a global... global $_SESSION; as soon as i delete that line. my script works perfect... is this not allowed anymore... to access $_SESSION in a constructor?? regar

[PHP] Re: Session start problem

2003-07-07 Thread Mathieu Dumoulin
Problem was that the TMP dir was full and we couldn'T write down the session file... Seems this jams the server completly. Be aware that if anything like that happen to you that you have to check fro the TMP files that might be overflooding your partition. "Mathieu Dumoulin" <[EMAIL PROTECTED]> wr

[PHP] Re: session handling works on local server, but not when uploaded to ISP

2003-06-28 Thread Bobby Patel
It could be a warning in your script. On your local server, maybe you have error reporting set to minimal (ie. don't report warnings), whereas the ISP server might have it turned up higher by default. near the top of your script reporter_view.php put in the line error_reporting(E_ALL); ie. Mayb

[PHP] Re: session handling works on local server, but not when uploadedto ISP

2003-06-28 Thread Tularis
... and line 5 of reporter_view.php reads what? =/ Anders Thoresson wrote: Hi, I've a login script that works fine on my local server, but when I runs it from my ISP I get the following error: Warning: Cannot send session cookie - headers already sent by (output started at /export/home/thore/pu

[PHP] RE: session id

2003-03-25 Thread Uttam
session_start(); should be on the first line in the script. regds, -Original Message- From: Iggy [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 20:08 To: [EMAIL PROTECTED] Subject: session id can somebody tell me why I am getting this: Warning: session_start() [function.session

[PHP] Re: session id

2003-03-25 Thread Michael Heuser
The function session_start is sending a cookie. This means that you can't echo anything before. Its the same rules as with setcookie. "Iggy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > can somebody tell me why I am getting this: > Warning: session_start() [function.session-start]

[PHP] Re: Session Not Working

2003-03-21 Thread Paonarong Buachaiyo
Try if ( isset($_SESSION['verified_user'])==1) { ... } or in main.php try to print out if there any variable or not? "Guru Geek" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I'm trying to use sessions for the first time. > > I have a log in script that gets the user

[PHP] Re: Session Data

2003-03-21 Thread Anthony
Are you using something like $_SERVER['HTTP_HOST'] or $_SERVER['PHP_SELF'] to get the base URL for the app when doing the redirect? If you have the whole URL typed in and switch from something like www.mydomain.com to mydomain.com, the browser may think it's a different site and loose the cookie wi

[PHP] Re: Session problem

2003-03-18 Thread Paonarong Buachaiyo
Do not echo $query or any output before session_start(); or session_register("xxx"); (mean headers) //echo $query Or may be you can put ob_start(); before first output and put ob_end_flush(); after last headers ob_start(); echo $query . . //your code. . . session_register("ses_level"); ob_end_flu

[PHP] Re: session help

2003-03-01 Thread Niels Andersen
> i am having a terrible time killing the session > someone please please help me... This one works for me: session_start(); $_SESSION = array(); session_destroy(); But I am surprised that there is no single command to kill the session. The semantics of "session_destroy()" suggest that it do

Re: [PHP] Re: session expiration

2003-02-21 Thread Hans Prins
I think a database session would be of more use to you since you would have more control over the lifetime of the session etc "Lowell Allen" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > From: "Hans Prins" <[EMAIL PROTECTED]> > > > > can you show

Re: [PHP] Re: session expiration

2003-02-21 Thread Lowell Allen
> From: "Hans Prins" <[EMAIL PROTECTED]> > > can you show us the PHP code that you use to manage your session? Sure. You say in a following post: > I am asking because if you are using: session_set_cookie_params(), the > effect of this function only lasts for the duration of the script. I'm not

[PHP] Re: session expiration

2003-02-21 Thread Hans Prins
I am asking because if you are using: session_set_cookie_params(), the effect of this function only lasts for the duration of the script. "Lowell Allen" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm using sessions for authentication in a content managem

[PHP] Re: session expiration

2003-02-21 Thread Hans Prins
can you show us the PHP code that you use to manage your session? "Lowell Allen" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm using sessions for authentication in a content management system and > experiencing rare but occasional problems with the sess

[PHP] Re: Session Time

2003-02-10 Thread Bobby Patel
What you could do, is get the current time stamp using time() or date() and create a sesion variable with this value, when they login (and the session is created. Then when they logout, and the sesion is destoyed get the current time stamp again and minus it from the start time. Note: This requir

[PHP] Re: SESSION variable and register_globals

2003-02-10 Thread Bastian Vogt
Hi all, > 1.If register_globals is on, then doing an unset($_SESSION["blah"]), to unset > a session variable will not work as the variable will be unset in that > particular instance but will be restored in next instance of that session. > Hence session_unregister("blah") also must be used to prop

[PHP] Re: Session Variables

2003-01-26 Thread Bobby Patel
This variable is registered in the Session, and the variable isn't active until the page refreshes. It's hard to explain. I thought I would try. There are some things you can do. If you need the variable right away, you can do this: if (isset($HTTP_SESSION_VARS["user1"])) { $user1 = $HTTP_SESS

Re: [PHP] Re: Session vars vs. POST/GET vars?

2003-01-11 Thread Jason Wong
On Saturday 11 January 2003 18:39, Noel Wade wrote: > Nevermind, just found the $HTTP_SESSION_VARS array... If you're using a relatively recent version of PHP, you should use $_SESSION. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design

[PHP] Re: Session vars vs. POST/GET vars?

2003-01-11 Thread Noel Wade
Nevermind, just found the $HTTP_SESSION_VARS array... Thanks anyways! Take care, --Noel "Noel Wade" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > So I have a session variable; but with register_globals active on the server > I'm hosted at (no wa

[PHP] Re: session problem

2003-01-10 Thread Scott Fletcher
I don't normally have problem with using session functions on the Win2000 Server using IIS 5. It work pretty well. You may will want to narrow down the problem and find out if it is a session problem only or if it is something else. I don't use some of the IIS patches like the IIS Lockdown as an

[PHP] Re: session not set, server configuration?

2003-01-09 Thread James Tan
Dear Noel Wade, I've been coding session for quite sometime, but this is the first time i encounter such problem... in the login.php page, i've tested out session_is_registered("userkey"); it was TRUE. but when i redirect it to main.php and did a checking on session_is_registered("userkey"); it

[PHP] Re: session not set, server configuration?

2003-01-09 Thread Noel Wade
James - Don't know how you're working with Cookies and sessions for sure, but the default / "easy" way to check for an established session is to put "session_start();" at the top of every page that's going to access the session variables. That will check for an established/open session and make t

[PHP] Re: Session: I RTFM

2002-12-14 Thread conbud
John Taylor-Johnston wrote: Jason wrote: RTFM again. Jason, again, I RTFM, but did not get it working. Otherwise I wouldn't have dared ask a question. Sessions depends on a number of factors including your version of PHP and the setting of register_globals. The FM manual says: "$_SESSION

[PHP] Re: Session: I RTFM

2002-12-14 Thread michael kimsal
Instead of while(list($k,$v)=each($_POST)){ $_SESSION[$k]=$v; //echo "_name_ ".stripslashes($k)." _value_ ".stripslashes($v).""; } why not just $_SESSION = array_merge($_SESSION,$_POST); ??? Michael Kimsal http://www.phpappserver.com 734-480-9961 -- PHP General Mailing List (http://www.php

[PHP] Re: Session: I RTFM

2002-12-14 Thread John Taylor-Johnston
Thanks. John > When faced with this problem I tried the following (works) > > The top section of PHP code just reads the POST return array > and plops it into a series of successive _SESSION vars > > Included is a FORM to use that shows the simple code at work > > HTH > TomHenry > > ===

[PHP] Re: Session: I RTFM

2002-12-14 Thread TomH
When faced with this problem I tried the following (works) The top section of PHP code just reads the POST return array and plops it into a series of successive _SESSION vars Included is a FORM to use that shows the simple code at work HTH TomHenry Tested =

Re: [PHP] Re: Session

2002-12-12 Thread 1LT John W. Holmes
> No i meen one var in two diferent session! (For example: Counter of > all user available in this moment on the site or all users nicks) I think what your after is an Application variable. One variable that's available to every script that's running, or session, or something like that? There's no

Re: [PHP] Re: Session

2002-12-12 Thread Boris Kolev
Hello matty, Thursday, December 12, 2002, 2:43:44 PM, you wrote: mr> what do you mean - same 2 vars ? mr> if you mean 2 session vars, than they will be availble on every web page mr> which uses session calls. mr> else, let me know what do you mean exactly. mr> "Boris Kolev" <[EMAIL PROTECTED]

[PHP] Re: Session

2002-12-12 Thread matty rozen
what do you mean - same 2 vars ? if you mean 2 session vars, than they will be availble on every web page which uses session calls. else, let me know what do you mean exactly. "Boris Kolev" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello php-general, >

[PHP] Re: session problems

2002-11-27 Thread Nenad Djordjevic
Hello Jason, I had similar problem when I try to use global array $HTTP_SESSION_VARS to manipulate with session variables in PHP version 4.1.x. If you use PHP version < 4.2.0 you need to use function `session_register` to add variable to session. If you use PHP 4.2.0 (or greater) you need to use

[PHP] Re: session problems

2002-11-26 Thread conbud
Hey again. In the php.ini if register_globals = Off - which is the default setting then you will need to use $_SESSION['variable'] - Lee "Jason Romero" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > when using session registered variables > i can only get the

[PHP] Re: session problems

2002-11-26 Thread conbud
Hey Also in your php.ini do you have session.use_cookies = 1 if its set to 0 then you will need to pass the variables through the URL. - Lee "Jason Romero" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > when using session registered variables > i can only get

RE: [PHP] Re: session handling

2002-11-18 Thread Ford, Mike [LSS]
> -Original Message- > From: OrangeHairedBoy [mailto:[EMAIL PROTECTED]] > Sent: 16 November 2002 07:23 > To: [EMAIL PROTECTED] > Subject: [PHP] Re: session handling > > > Here's what you need: > > on page 1.php: > > session_start(); > $

[PHP] Re: session handling

2002-11-16 Thread conbud
Hey you may want to try in page2.php : session_start(); echo('{$_SESSION['abc']}'); Lee "Anjali Kaur" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > i want to access some variables generated in one page > in all the other pages, so i thought of using > $_SES

Re: [PHP] Re: session handling

2002-11-16 Thread Ernest E Vogelsinger
At 18:04 16.11.2002, Lars Espelid said: [snip] >Session-vars won't work on my pages either. >Tried your suggested code, but get the following errors in my browser: > >Page 1: >Warning: open(/tmp\sess_22b746f8ee84cf7aadb8da0b37ce9d2a, O_RDWR) failed: m >(2) in

[PHP] Re: session handling

2002-11-16 Thread Lars Espelid
Session-vars won't work on my pages either. Tried your suggested code, but get the following errors in my browser: Page 1: Warning: open(/tmp\sess_22b746f8ee84cf7aadb8da0b37ce9d2a, O_RDWR) failed: m (2) in c:\apache group\apache\htdocs\system\kode\test.php on line 2 Page 2: Warning: open(/tmp\se

[PHP] Re: session handling

2002-11-15 Thread OrangeHairedBoy
Here's what you need: on page 1.php: on page 2.php: You have to register the variable with the session first so it knows that it's a variable that needs monitored and, when the script finishes, needs saved. Hope this helps! Lewis "Anjali Kaur" <[EMAIL PROTECTED]> wrote in message [EMAIL P

RE: [PHP] Re: Session cookies

2002-11-04 Thread Chris Kay
I don't use cookies when I use sessions.. Saves hassles Regards Chris Kay > -Original Message- > From: Erwin [mailto:erwin@;isiz.com] > Sent: Monday, 4 November 2002 6:50 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Session cookies > > > >

[PHP] Re: Session cookies

2002-11-03 Thread Erwin
> When the user logs in , i create a session with session varialbles, > the session cookie is saved on clients computer. > > When i log off i say > > session_unset(); > session_destroy(); > setcookie(session_name()); > > The session in the tmp is deleted , but the cookie is still there , i > know t

[PHP] Re: Session Trouble

2002-10-24 Thread Matias Silva
why don't you use the session_register("voted") function. Then if you want to check it you can use the session_is_registered("voted) . -Matias "Stephen" <[EMAIL PROTECTED]> wrote in message news:000a01c27ba1$d8871e00$0200a8c0@;melchior... I'm trying to register a session for a poll by first open

Re: [PHP] Re: session & cookies

2002-10-07 Thread Scott Fletcher
Hi Jeff, I manage the website for the credit report reseller. We don't normally use cookie but we use session only. You were expressing some concern about someone knowing the session id. What we normally use is we used the encrypted session id and use use long aphanumeric number. This mak

Re: [PHP] Re: session & cookies

2002-09-27 Thread Jeff Bluemel
Chris and I have been working on this through private emails, and we (I mean he) finally figured out what the problem was... session.cookie_path was set to /tmp instead of /. I wanted to thank him for taking the time to help me work through this... Jeff "Chris Shiflett" <[EMAIL PROTECTED]> wrot

Re: [PHP] Re: session & cookies

2002-09-24 Thread Jeff Bluemel
I put this block of code in, and all of the array's they should send back are 100% blank. I will try the protoscope to see what I can turn up on this. "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Jeff, > > One quick thought ... > > Is your

Re: [PHP] Re: session & cookies

2002-09-23 Thread Chris Shiflett
Jeff, One quick thought ... Is your cookie domain the same domain as the URL domain you are using to test this? If not, the browser will not send the cookie, so that is a potential reason for this behavior. If the domain is the same, I see no reason why this shouldn't work, but I have two id

Re: [PHP] Re: session & cookies

2002-09-23 Thread Jeff Bluemel
ok - no cookie exists... I have Netscape set to accept all cookies. I'm wondering if it is in my link, or if it is a configuration error somewhere. here is a copy of the session options from my php.ini (as copied from Zend Server Center) Session data handler files Session save path/tmp Use cook

Re: [PHP] Re: session & cookies

2002-09-21 Thread Chris Shiflett
Jeff, My apologies then. Somehow your response never arrived. It is still best to always "reply all" for things like this. You get the benefit of hearing several people's perspectives, and you also potentially help others who have the same question now or who may have it in the future (and ch

Re: [PHP] Re: session & cookies

2002-09-21 Thread Jeff Bluemel
I responded to this in a private email to you, and not on the forum... I did respond. I will post here again so there is no question; >I want to force it to use a cookie that points to a transparent SID on >my system. what I mean by this is it was my understanding when reading the sessions do

Re: [PHP] Re: session & cookies

2002-09-20 Thread Chris Shiflett
You've already posted this, and you never answered the questions that were asked. Thus, your question is every bit as unclear as the previous time. Perhaps if you put forth a little effort, we might also. Just a helpful suggestion, Chris Jeff Bluemel wrote: >still looking for some solutions

[PHP] Re: session & cookies

2002-09-20 Thread Jeff Bluemel
still looking for some solutions on this - anybody else have any suggestions? "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > OK guys... > > here's my question - I'm using 4.2.3 and apache 1.3.26, and I've got > sessions setup. however, it seem

[Fwd: Re: [PHP] RE: Session seams to be clearing randomly]

2002-09-09 Thread David Cramblett
tions that when set to >http://site/file.php instead of just /file.php it resets the session. > >-Original Message- >From: David Cramblett [mailto:[EMAIL PROTECTED]] >Sent: Monday, September 09, 2002 11:38 AM >To: [EMAIL PROTECTED] >Subject: Re: [PHP] RE: Session seam

RE: [PHP] RE: Session seams to be clearing randomly

2002-09-09 Thread David Buerer
et to http://site/file.php instead of just /file.php it resets the session. -Original Message- From: David Cramblett [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 11:38 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] RE: Session seams to be clearing randomly Additionally, I

Re: [PHP] RE: Session seams to be clearing randomly

2002-09-09 Thread David Cramblett
Additionally, I forgot to mention that the session file is still viewable in the tmp directory after the session clears. David David Cramblett wrote: > Hello, > > I am having trouble with my session clearing after a few clicks around > the application. The session is started in a header w

[PHP] RE: Session seams to be clearing randomly

2002-09-09 Thread David Cramblett
Hello, I am having trouble with my session clearing after a few clicks around the application. The session is started in a header which is loaded first on every page in my application and I can not isolate the clearing to one page or link, it seams to be random. I can click maybe 10 - 20

[PHP] Re: session encode and session decode question

2002-09-03 Thread Richard Lynch
>I'm trying to get the one variable I stored insite a session, the >variable's name is $username I am trying to do it like this, but I think >it's wrong: > >$PHPSESSID = session_encode(); >$username = session_decode(); > >It tells me I have wrong parameters for session decode. > >What am I suppose

RE: [PHP] Re: Session problem

2002-09-03 Thread victor
might want to do this instead of haven people press the back button. - Victor > www.argilent.com -Original Message- From: Erwin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 6:19 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Session problem > I am using session_start

[PHP] Re: Session problem

2002-09-03 Thread Erwin
> I am using session_start() and > session_register("variablename") . The when I click on > the back button from the browser it shows me the > following error: "Warning: Page has Expired The page > you requested was created using information you > submitted in a form. This page is no longer avail

[PHP] Re: Session 4.2.2

2002-08-29 Thread Dallas Thunder
Just edit your 'php.ini' file, if 'register_globals = Off', then set it to On. It will solve a lot of problems if you are learning PHP from examples. "Breno Cardoso Perucchi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > Do you have an example? > > Tha

[PHP] Re: Session 4.2.2

2002-08-29 Thread Breno Cardoso Perucchi
Hi, Do you have an example? Thanks. "Breno Cardoso Perucchi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I would like to know if there are any changes on session of PHP between the > version 4.1.0 and 4.2.2? > > Thanks. > > Breno Cardoso Perucchi > [EMAIL

[PHP] Re: Session 4.2.2

2002-08-29 Thread Dallas Thunder
If you encounter any problem with session variables, it may not caused by session. An important change between 4.2.0 or above and versions below is that the 'register_globals' directive will be set Off by default in 'php.ini' file. So you can't access session variables (e.g. $var) directly, inst

[PHP] Re: Session woes

2002-08-26 Thread Richard Lynch
>the problem I have, however, is that on the third page of my wizard, if the >user submits only some of the required fields, it submits back onto itself >and displays an error as required, but the problem is that when you fill in >the missing fields and move on to the next page (in effect back ont

[PHP] Re: Session, error occurs

2002-08-15 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > "Per" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Daniel Canil wrote: > > > I have jsut recently installed a php development kit on my windows > platform. > > > Im interested in using the sessi

[PHP] Re: Session, error occurs

2002-08-14 Thread Daniel Canil
"Per" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Daniel Canil wrote: > > I have jsut recently installed a php development kit on my windows platform. > > Im interested in using the session functions but I am recieving this error > > when I use session_start

[PHP] Re: Session, error occurs

2002-08-14 Thread Per
Daniel Canil wrote: > I have jsut recently installed a php development kit on my windows platform. > Im interested in using the session functions but I am recieving this error > when I use session_start(): > > Warning: open(/tmp\sess_540ded508edf231c47fe85bd970f936a, O_RDWR) failed: m > (2) in d:

[PHP] Re: Session, error occurs

2002-08-14 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I have jsut recently installed a php development kit on my windows platform. > Im interested in using the session functions but I am recieving this error > when I use session_start(): > > Warning: open(/tmp\sess_540ded508edf231c47fe85bd

[PHP] Re: Session Tracking

2002-07-22 Thread Richard Lynch
>This may be a pretty naive question. >Do we have to use the key word >session_register("variablename"); >in every single page, in which we plan to use the "variablename"?. Or is it >possible that we register the variablename once, and in the subsequent pages >continue to access it using $variabl

Re: [PHP] Re: session error ... I think

2002-07-11 Thread Chris Hewitt
Alexander Ross wrote: >ok ... but the line of code that was the culprit was simply: > >print "var id = ".$id.""; //for debugging > >how does that line constitute sending more header info? > It does not constitute sending more headers, but it does say that no more may be sent (as you have already

Re: [PHP] Re: session error ... I think

2002-07-11 Thread Martin Clifford
When you request a page, for instance, php.net, your web browser sends HTTP headers to the server that holds php.net on it. When the server receives these HTTP headers, it knows which page is needed, and sets up it's own headers to send back to the browser, such as location, file types, etc.

Re: [PHP] Re: session error ... I think

2002-07-11 Thread Alexander Ross
ok ... but the line of code that was the culprit was simply: print "var id = ".$id.""; //for debugging how does that line constitute sending more header info? Alex "Chris Hewitt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Alexander Ross wrote: > > >I'm

Re: [PHP] Re: session error ... I think

2002-07-11 Thread Chris Hewitt
Alexander Ross wrote: >I'm slowly beginning to undrestand this, but please bear with a php novice. >When/how were the headers sent? In other words, how do I know that they >have already been sent? > Because something other than a header has gone out. As something other has gone out, it is not p

[PHP] Re: session error ... I think

2002-07-11 Thread Alexander Ross
I'm slowly beginning to undrestand this, but please bear with a php novice. When/how were the headers sent? In other words, how do I know that they have already been sent? Thanks for humoring me alex "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > >what does th

[PHP] Re: session error ... I think

2002-07-11 Thread Richard Lynch
>what does this mean: > >Warning: Cannot send session cache limiter - headers already sent (output >started at /home/.edy/alexross/bleen.net/forum/discussion_fns.php:88) in >/home/.edy/alexross/bleen.net/forum/index.php on line 5 On line 88 in discussion_fns.php there is an echo or print or even

[PHP] Re: session error ... I think

2002-07-10 Thread vins
did you echo anything or place this session cache command after any html ?? coz if you did it means you can't change any header information once you've displayed something kinda like this you can change the header information on an email you just sent "Alexander Ross" <[EMAIL PRO

[PHP] Re: Session data not being deleted on browser close.

2002-07-09 Thread Yasuo Ohgaki
Don't cross post such question... All you need to understand is how cookie is managed unless you are passing session id via URL. Read RFC2965 and RFC2964. You probably want to read netscape cookie spec also. -- Yasuo Ohgaki Youngie wrote: > Why would my session data not be deleted after my bro

[PHP] Re: Session not expiring

2002-07-05 Thread Richard Lynch
>All, > >My session is not expiring and I believe that I set this correctly. >I'm looking for a 15 minute expiration time. > >My current setting: > >session.cookie_lifetime = 900 ; lifetime in seconds of cookie >; or if 0, until browser is restarted > >Is

Re: [PHP] Re: SESSION newbie question ***FINALLY RESOLVED*** =-)

2002-07-03 Thread php
t; I'd always called the PHP into the SRC tag. :-) > > Good luck > -Kevin > > > > - Original Message - > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, July 03, 2002 11:33 AM > Subject: Re: [PHP] Re: SESSION ne

Re: [PHP] Re: SESSION newbie question ***STILL UNRESOLVED***

2002-07-03 Thread Kevin Stone
C tag. :-) Good luck -Kevin - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 03, 2002 11:33 AM Subject: Re: [PHP] Re: SESSION newbie question ***STILL UNRESOLVED*** > I did as you said Richard, however I still encounter the same problem, >

<    1   2   3   4   >