Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Paul Waring
On 07/09/11 13:42, Richard Quadling wrote: On 7 September 2011 12:32, Paul Waring wrote: On 07/09/11 12:16, Richard Quadling wrote: On 7 September 2011 11:20, Paul Waringwrote: Can anyone suggest things which I could try? I cannot work out why this problem is happening for some users bu

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Paul Waring
On 07/09/11 12:16, Richard Quadling wrote: On 7 September 2011 11:20, Paul Waring wrote: Can anyone suggest things which I could try? I cannot work out why this problem is happening for some users but not me. For browsers/extensions that do automatic read ahead (I load page A and linked pages

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Paul Waring
On 07/09/11 12:20, vikash.i...@gmail.com wrote: Just confirm once that you are not calling session_destroy somewhere. The only place session_destroy is called is in the logout function, which itself is only called if a user clicks the logout link. -- Paul Waring http://www.phpdeveloper.org.u

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Paul Waring
On 07/09/11 12:15, Richard Quadling wrote: How do you handle multiple logins? If I login using my laptop and get Session A for my account and then I login using my desktop and get Session B for my account, does Session A get killed? Session A is killed, your last login is always the current on

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread vikash . iitb
Just confirm once that you are not calling session_destroy somewhere. Thanks, Vikash Kumar -- http://vika.sh On 7 September 2011 16:46, Richard Quadling wrote: > On 7 September 2011 11:20, Paul Waring wrote: > > Can anyone suggest things which I could try? I cannot work out why this > > prob

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Richard Quadling
On 7 September 2011 11:20, Paul Waring wrote: > Can anyone suggest things which I could try? I cannot work out why this > problem is happening for some users but not me. For browsers/extensions that do automatic read ahead (I load page A and linked pages B and C are also retrieved). Is the poten

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Richard Quadling
On 7 September 2011 11:20, Paul Waring wrote: > I'm having trouble with a PHP website which requires users to be logged in > to access all content other than the home page and a couple of static pages > (about us, contact us etc.). Several users have said they are being logged > out every few minu

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Paul Waring
On 07/09/11 11:47, Nilesh Govindarajan wrote: On 09/07/2011 03:50 PM, Paul Waring wrote: I'm having trouble with a PHP website which requires users to be logged in to access all content other than the home page and a couple of static pages (about us, contact us etc.). Several users have said the

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Nilesh Govindarajan
On 09/07/2011 03:50 PM, Paul Waring wrote: > I'm having trouble with a PHP website which requires users to be logged > in to access all content other than the home page and a couple of static > pages (about us, contact us etc.). Several users have said they are > being logged out every few minutes

[PHP] PHP sessions expiring early

2011-09-07 Thread Paul Waring
I'm having trouble with a PHP website which requires users to be logged in to access all content other than the home page and a couple of static pages (about us, contact us etc.). Several users have said they are being logged out every few minutes whilst using the site - they can login but will

Re: [PHP] PHP sessions - users being automatically logged out

2010-11-04 Thread Paul Waring
On 04/11/10 14:56, Alexander Holodny wrote: Inc session.cache_expire. You have only 3 minutes. This means browser will drop cookie containing session id in three minutes, or even less, of clients inactivity. According to the PHP manual: "session.cache_expire specifies time-to-live for cached s

Re: [PHP] PHP sessions - users being automatically logged out

2010-11-04 Thread Alexander Holodny
Inc session.cache_expire. You have only 3 minutes. This means browser will drop cookie containing session id in three minutes, or even less, of clients inactivity. I prefer to set expire-time to zero. So, browser will never forget session id. In other case, if security requires, i usually set it to

[PHP] PHP sessions - users being automatically logged out

2010-11-04 Thread Paul Waring
I'm having trouble with a PHP site whereby some users are being logged out on a regular basis. This will usually happen after they have been using the site for a few minutes, they can login without any problems and access a few pages, but then suddenly they will request a page and be sent to th

Re: [PHP] PHP Sessions

2010-03-12 Thread Andre Polykanine
sage - From: Martine Osias To: php-general@lists.php.net Date: Saturday, March 13, 2010, 2:29:41 AM Subject: [PHP] PHP Sessions Hi: I need to store variables to send then between pages. I don't need the variables in a database so I try to send them with sessions. The variables don't se

Re: [PHP] PHP Sessions

2010-03-12 Thread Kevin Kinsey
Forgot to mention, you could check into the privacy vs. server settings by doing: session_start(); echo session_id(); on both pages. If they're different, then this is the problem. KDK -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Sessions

2010-03-12 Thread Kevin Kinsey
Martine Osias wrote: Hi: I need to store variables to send then between pages. I don't need the variables in a database so I try to send them with sessions. The variables don't seem to be there when I try to get them. What could be the problem. Here are the pages where I store and retrieve th

Re: [PHP] PHP Sessions

2010-03-12 Thread Ashley Sheridan
On Fri, 2010-03-12 at 19:29 -0500, Martine Osias wrote: > Hi: > > I need to store variables to send then between pages. I don't need the > variables in a database so I try to send them with sessions. The variables > don't seem to be there when I try to get them. What could be the problem. > He

[PHP] PHP Sessions

2010-03-12 Thread Martine Osias
Hi: I need to store variables to send then between pages. I don't need the variables in a database so I try to send them with sessions. The variables don't seem to be there when I try to get them. What could be the problem. Here are the pages where I store and retrieve the variables. Page 1

Re: [PHP] PHP sessions, AJAX, authentication and security.

2009-11-21 Thread tedd
At 9:30 PM +1000 11/21/09, Angus Mann wrote: Hi all. A question about PHP sessions and their interaction with AJAX. I have a database containing sensitive information and users need to log in to my PHP script and be authenticated before they are granted access. For one of the forms I would

Re: [PHP] PHP sessions, AJAX, authentication and security.

2009-11-21 Thread Phpster
You could use a one time token on each request Bastien Sent from my iPod On Nov 21, 2009, at 6:30 AM, "Angus Mann" wrote: Hi all. A question about PHP sessions and their interaction with AJAX. I have a database containing sensitive information and users need to log in to my PHP script an

[PHP] PHP sessions, AJAX, authentication and security.

2009-11-21 Thread Angus Mann
Hi all. A question about PHP sessions and their interaction with AJAX. I have a database containing sensitive information and users need to log in to my PHP script and be authenticated before they are granted access. For one of the forms I would like to retrieve information using AJAX, and some

[PHP] PHP sessions possibly eating up inodes

2006-07-03 Thread Dave M G
PHP List, Recently, my web hosting server has been maxing out it's alloted hard drive space. It turns out that there are no single large files, but that I have been maxing out my inode usage. Not being a Unix expert, I have a limited understanding of inodes, but it seems they are related to fi

Re: [PHP] php sessions and Google (Solved)

2006-06-08 Thread tedd
At 12:47 PM +1000 6/8/06, Chris wrote: >tedd wrote: >>At 10:56 AM +1000 6/8/06, Chris wrote: >>>tedd wrote: Hi gang: I've read that php sessions can create problems for Google bots. -snip- >>Chris: >> >>Thanks -- after your lead, I found that my site's session.use_trans_sid was >>tu

Re: [PHP] php sessions and Google

2006-06-07 Thread Anthony Ettinger
On 6/7/06, tedd <[EMAIL PROTECTED]> wrote: Can someone shed some light on this for me? How can one do sessions and make Google bots happy? I think what they're getting at is don't use session id's unless they're logged in. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html --

Re: [PHP] php sessions and Google

2006-06-07 Thread Chris
tedd wrote: At 10:56 AM +1000 6/8/06, Chris wrote: tedd wrote: Hi gang: I've read that php sessions can create problems for Google bots. For example, the following was taken from a Google "Web Master Help" Center: -- Quote -- Allow search bots to crawl your sites without session IDs or argum

Re: [PHP] php sessions and Google

2006-06-07 Thread tedd
At 10:56 AM +1000 6/8/06, Chris wrote: >tedd wrote: >>Hi gang: >> >>I've read that php sessions can create problems for Google bots. For example, >>the following was taken from a Google "Web Master Help" Center: >> >>-- Quote -- >>Allow search bots to crawl your sites without session IDs or argume

Re: [PHP] php sessions and Google

2006-06-07 Thread Chris
tedd wrote: Hi gang: I've read that php sessions can create problems for Google bots. For example, the following was taken from a Google "Web Master Help" Center: -- Quote -- Allow search bots to crawl your sites without session IDs or arguments that track their path through the site. These t

[PHP] php sessions and Google

2006-06-07 Thread tedd
Hi gang: I've read that php sessions can create problems for Google bots. For example, the following was taken from a Google "Web Master Help" Center: -- Quote -- Allow search bots to crawl your sites without session IDs or arguments that track their path through the site. These techniques are

Re: [PHP] php, sessions and ie

2006-04-06 Thread Dallas Cahker
Message- > From: Dallas Cahker [mailto:[EMAIL PROTECTED] > Sent: 04 April 2006 19:41 > To: php-general@lists.php.net > Subject: Re: [PHP] php, sessions and ie > > How are you destroying the sessions if they leave the site (dont logout). > do > you check on activity or

RE: [PHP] php, sessions and ie

2006-04-04 Thread Chrome
] php, sessions and ie How are you destroying the sessions if they leave the site (dont logout). do you check on activity or something else? On 4/4/06, Dan Parry <[EMAIL PROTECTED]> wrote: > > I have had some issues with sessions and IE in the past and used the > following code to st

Re: [PHP] php, sessions and ie

2006-04-04 Thread Dallas Cahker
lways use a DB to store sessions... Much nicer > > HTH > > Dan > > - > Dan Parry > Senior Developer > Virtua Webtech Ltd > http://www.virtuawebtech.co.uk > -Original Message- > From: Dallas Cahker [mailto:[EMAIL PROTECTED] > Sent: 04 April 2006 16:19 > To:

RE: [PHP] php, sessions and ie

2006-04-04 Thread Dan Parry
://www.virtuawebtech.co.uk -Original Message- From: Dallas Cahker [mailto:[EMAIL PROTECTED] Sent: 04 April 2006 16:19 To: php-general@lists.php.net Subject: [PHP] php, sessions and ie I've been hearing some of my friends saying there is an issue with Session in PHP and IE having problems with

Re: [PHP] php, sessions and ie

2006-04-04 Thread Wolf
I used to use a database table which housed their information, and their cookie housed their sessionID that the server assigned them when they logged in. Grabbing the sessionID only from the cookie (and their IP) I was able to log most people in (even "dynamic" IPs don't change THAT often). For t

[PHP] php, sessions and ie

2006-04-04 Thread Dallas Cahker
I've been hearing some of my friends saying there is an issue with Session in PHP and IE having problems with them. Is that true? If it is how do people get around this? Session information saved to db? Session id in cookie?

Re: [PHP] PHP Sessions

2005-09-11 Thread Jasper Bryant-Greene
Chris Wagner wrote: i recently started using PHP's sessions. i am finding that the sessions seem to "expire" after 20 or 30 minutes -- or, at least the variables which i set, within $_SESSION, are getting cleared after this relatively short amount of time. before calling session_start(), i do a

[PHP] PHP Sessions

2005-09-11 Thread Chris Wagner
hello, i recently started using PHP's sessions. i am finding that the sessions seem to "expire" after 20 or 30 minutes -- or, at least the variables which i set, within $_SESSION, are getting cleared after this relatively short amount of time. before calling session_start(), i do a few initializ

Re: [PHP] PHP Sessions?

2005-03-02 Thread rory walsh
Yeah your right, I'm trying to walk before I can crawl! Cheers for the help, Rory. Chris W. Parker wrote: rory walsh on Wednesday, March 02, 2005 2:08 PM said: Thanks everyone, I'm getting closer. The only problem I have not is that I keep entering that test, I modif

RE: [PHP] PHP Sessions?

2005-03-02 Thread Chris W. Parker
rory walsh on Wednesday, March 02, 2005 2:38 PM said: > Is it to do with the link: > > does this call the script again, just as an action="script.php" in a > form would? Cheers for the help on this. Yes it does. But it doesn't erase the session values (it seems tha

Re: [PHP] PHP Sessions?

2005-03-02 Thread rory walsh
Sorry bout that little mistake. You right I mean to check to see if $_SESSION['loggedin'] == "yes"; That doesn't make a difference as it turns out. The reason that I immediately change this is that I want the content of the page to change, and in order to do that I want to stop it from going int

RE: [PHP] PHP Sessions?

2005-03-02 Thread Chris W. Parker
rory walsh on Wednesday, March 02, 2005 2:08 PM said: > Thanks everyone, I'm getting closer. The only problem I have not is > that I keep entering that test, I modified it to change the session > variable once we enter the test but it somehow does not seem to > chang

Re: [PHP] PHP Sessions?

2005-03-02 Thread rory walsh
Thanks everyone, I'm getting closer. The only problem I have not is that I keep entering that test, I modified it to change the session variable once we enter the test but it somehow does not seem to change it? This is the code, if(strlen($_SESSION['loggedin']=="yes")){ $_SESSION['loggedin']

Re: [PHP] PHP Sessions?

2005-03-02 Thread Jochem Maas
rory walsh wrote: The problem there is that I have to test if the user has logged on so I need to include the if statement? there are 2 tests to do: 1. check to see whether the user is logged on already 2. check to see whether the user is trying to log on Can the session_start not be called from

Re: [PHP] PHP Sessions?

2005-03-02 Thread rory walsh
Yes I see what you mean. I only wanted to start a session IF the user logged in, but I see your point, the session can be started as soon as anyone opens the main page. I'll give it a go and see if that helps, cheers, Rory. Chris W. Parker wrote: rory walsh on Wedn

RE: [PHP] PHP Sessions?

2005-03-02 Thread Chris W. Parker
rory walsh on Wednesday, March 02, 2005 1:26 PM said: > The problem there is that I have to test if the user has logged on so > I need to include the if statement? Can the session_start not be > called from within an if statement? Does it really have to be the > very

Re: [PHP] PHP Sessions?

2005-03-02 Thread rory walsh
The problem there is that I have to test if the user has logged on so I need to include the if statement? Can the session_start not be called from within an if statement? Does it really have to be the very first thing in the script, if so I imagine that this means a single script cannot be used

RE: [PHP] PHP Sessions?

2005-03-02 Thread Chris W. Parker
rory walsh on Wednesday, March 02, 2005 11:19 AM said: > if($_POST["username"]=="rory"){//if user logs in as rory start session > session_start(); > header("Cache-control: private"); > $_SESSION['loggedin'] = "yes"; > } Put session_start(); at the *very* beginning

[PHP] PHP Sessions?

2005-03-02 Thread rory walsh
Hi everyone, I am trying to work with the idea of sessions in PHP. Basically I have a self-processing script called index.php but somehow I keep losing my session variable, it works the first time around but when I call it the second time around its gone? I do not reset the variable or destroy

RE: [PHP] php sessions question

2004-10-21 Thread Reinhart Viane
>I normally do as you have suggested here - but why do you suggest that >this method is better? > > One reason is for security. You cannot ever rule out the possibility of a user injecting someone else's data into the session to get access to information that he should not have. Of course he

Re: [PHP] php sessions question

2004-10-21 Thread raditha dissanayake
Pete wrote: You should only save the userId in the session, everything else should be retrieved from your database using that id. I normally do as you have suggested here - but why do you suggest that this method is better? One reason is for security. You cannot ever rule out the p

Re: [PHP] php sessions question

2004-10-21 Thread Pete
In message <[EMAIL PROTECTED]>, raditha dissanayake <[EMAIL PROTECTED]> writes >Reinhart Viane wrote: > >>in a page checkuser i do this after the user is logged in: >> PHP Code >> // Register some session variables! >> session_register('userid'); >> $_SESSION['us

Re: [PHP] php sessions question

2004-10-21 Thread raditha dissanayake
Reinhart Viane wrote: in a page checkuser i do this after the user is logged in: PHP Code // Register some session variables! session_register('userid'); $_SESSION['userid'] = $userid; session_register('first_name'); $_SESSION['first_nam

[PHP] php sessions question

2004-10-21 Thread Reinhart Viane
in a page checkuser i do this after the user is logged in: PHP Code // Register some session variables! session_register('userid'); $_SESSION['userid'] = $userid; session_register('first_name'); $_SESSION['first_name'] = $first_nam

Re: [PHP] PHP Sessions Question

2004-07-08 Thread Tim Traver
It could be a case that your provider is load balancing across several machines. If they are, and they aren't storing the session data in a central location, then that might account for the issue. That would explain the intermittent failure. The user might be making keepalive requests to the sa

[PHP] PHP Sessions Question

2004-07-08 Thread Ed Lazor
What kind of problems could be happening server-side that would result in PHP sessions randomly disappearing? And, is there a way to log or track this information? Oh, and best of all, any recommendations on solutions? I have a PHP / MySQL application that's been running at a host provider fo

Re: [PHP] PHP Sessions on Windows

2004-05-12 Thread John W. Holmes
David Mitchell wrote: I first attempted to edit the php.ini so that the session save path was C:\Temp. No matter what I did, the save path always showed up in phpinfo() as /tmp. So I created folder on the root of C: called tmp and everything worked. You were not editing the correct php.ini, then.

RE: [PHP] PHP Sessions on Windows

2004-05-12 Thread Daniel Clark
I think you need to restart PHP to pickup the new php.ini changes. My php.ini is in the windows directory (I believe). >> -Original Message- >> From: David Mitchell [mailto:[EMAIL PROTECTED] >> Sent: 12 May 2004 13:21 >> >> OK, I managed to get it working. >> >> I first attempted to edit

RE: [PHP] PHP Sessions on Windows

2004-05-12 Thread Ford, Mike [LSS]
> -Original Message- > From: David Mitchell [mailto:[EMAIL PROTECTED] > Sent: 12 May 2004 13:21 > > OK, I managed to get it working. > > I first attempted to edit the php.ini so that the session > save path was C:\Temp. No matter what I did, the save path > always showed up in phpinfo

RE: [PHP] PHP Sessions on Windows

2004-05-12 Thread David Mitchell
OK, I managed to get it working. I first attempted to edit the php.ini so that the session save path was C:\Temp. No matter what I did, the save path always showed up in phpinfo() as /tmp. So I created folder on the root of C: called tmp and everything worked. Thanks, Dave -- PHP General Mail

RE: [PHP] PHP Sessions on Windows

2004-05-12 Thread rich
> How does one get sessions working on Windows? I have modified my php.ini > file so that session.save_path = C:\Temp, restarted and Apache. > Still I get > this error message: > > Warning: session_start(): open(/tmp\sess_26310affee160329c9e50f27663f8971, > O_RDWR) failed: No such file or directory

Re: [PHP] PHP Sessions on Windows

2004-05-11 Thread Daniel Clark
Sounds right. Do you have a C:\temp directory? >>How does one get sessions working on Windows? I have modified my php.ini >>file so that session.save_path = C:\Temp, restarted and Apache. Still I get >>this error message: >> >>Warning: session_start(): open(/tmp\sess_26310affee160329c9e50f27663f8

[PHP] PHP Sessions on Windows

2004-05-11 Thread David Mitchell
Hello, How does one get sessions working on Windows? I have modified my php.ini file so that session.save_path = C:\Temp, restarted and Apache. Still I get this error message: Warning: session_start(): open(/tmp\sess_26310affee160329c9e50f27663f8971, O_RDWR) failed: No such file or directory (2)

[PHP] PHP Sessions - One Server, Many Terminals

2004-03-16 Thread Damon Abilock
I'm having a problem related to PHP sessions in a school computer lab environment. I have a script that uses sessions to keep track of a user and their work on the system. It is being used by a school in a computer lab in which the students just have terminals -- they all access the same server c

RE: [PHP] PHP Sessions - Cookies Not Saving

2004-03-05 Thread electroteque
but it will > save on my Linux box. As sending cookies is pretty much a generic procedure which is not platform dependent it would suggest that your WinXP box is broken (needless to say I'm assuming that you have already ensured that your browser is configured to accept cookies). Have you trie

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-05 Thread Jason Wong
On Friday 05 March 2004 13:05, Paul Higgins wrote: > When I thought about what the compay really told me...it didn't make sense. > All I know is that that cookie will not save on my WinXP box, but it will > save on my Linux box. As sending cookies is pretty much a generic procedure which is not pl

RE: [PHP] PHP Sessions - Cookies Not Saving

2004-03-05 Thread Ford, Mike [LSS]
On 05 March 2004 03:33, Paul Higgins wrote: > When I do: print_r($_COOKIE); I get the following: > Array ( [PHPSESSID] => 11781ce29c68ca7ef563110f37e43f38 ) > > Does that mean its setting the Cookie? Yes. Cheers! Mike - Mike

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
]> Subject: Re: [PHP] PHP Sessions - Cookies Not Saving Date: Fri, 5 Mar 2004 15:24:32 +1100 (EST) Is it a non default /tmp ? If so it should be in php.ini or u have to set where it is with an ini_set , hope that helps. > AAAGGGH!! > >

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread daniel
t; > Paul > > >>From: <[EMAIL PROTECTED]> >>To: <[EMAIL PROTECTED]> >>Subject: Re: [PHP] PHP Sessions - Cookies Not Saving >>Date: Fri, 5 Mar 2004 15:24:32 +1100 (EST) >> >>Is it a non default /tmp ? If so it should be in php.in

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
If there is something in $_COOKIE, what does that mean? That there is a cookie somewhere? Or is it appending the Session ID to the URL? Paul From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [PHP] PHP Sessions - Cookies Not Saving Date: Fri, 5 Mar 2004 15:24:32 +1100

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread daniel
f...all that time wasted. Thanks for the help > though...it was much appreciated! > > Paul > > >>From: <[EMAIL PROTECTED]> >>To: <[EMAIL PROTECTED]> >>Subject: Re: [PHP] PHP Sessions - Cookies Not Saving >>Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST)

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
PROTECTED]> Subject: Re: [PHP] PHP Sessions - Cookies Not Saving Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST) Are the hosts u looking at the same ? Like is it the very same link ? Check on the XP box if you have cookies disabled, u can always check if the session is being stored on the server too,

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
setting is set to Medium. Thanks, Paul From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [PHP] PHP Sessions - Cookies Not Saving Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST) Are the hosts u looking at the same ? Like is it the very same link ? Check on the XP box if yo

Re: [PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread daniel
Are the hosts u looking at the same ? Like is it the very same link ? Check on the XP box if you have cookies disabled, u can always check if the session is being stored on the server too, look in /tmp first. Try a print_r ($_COOKIE); aswell. > Hi everyone, > > I'm trying to create a session with

[PHP] PHP Sessions - Cookies Not Saving

2004-03-04 Thread Paul Higgins
Hi everyone, I'm trying to create a session with PHP. I'm using the following code: print( session_id( ) ); print( ''); print( '' ); print( ' http://www.mysite.com/shopping_cart/Test2.php";>Here' ); print( '' ); print( '' ); ?> Now, I'm trying to view this site on a WinXP bo

[PHP] PHP Sessions and Cookies

2004-03-03 Thread Paul Higgins
I have a couple of questions regarding sessions and cookies: 1) Is there a way to append information to a cookie? I have read that it is, but I have also read many problems. Is there any particular way to do this? I ask this because cookies are being generated by two different types of scri

Re: [PHP] PHP Sessions

2004-02-29 Thread Tom Rogers
Hi, Monday, March 1, 2004, 3:04:13 AM, you wrote: PH> Hello everyone, PH> I'm beginning to experiment with PHP sessions. I was wondering if it is PH> possible to place objects into the session? PH> Thanks, PH> Paul PH> _ PH> Take

[PHP] PHP Sessions

2004-02-29 Thread Paul Higgins
Hello everyone, I'm beginning to experiment with PHP sessions. I was wondering if it is possible to place objects into the session? Thanks, Paul _ Take off on a romantic weekend or a family adventure to these great U.S. location

RE: [PHP] php sessions

2003-10-28 Thread Pablo Gosse
On Tuesday, October 28, 2003 2:13 PM CPT John W. Holmes wrote: > It may depend upon how you open the second window, too. Control-N may use > the same cookies whereas starting a whole new instance may not. This is the case with IE. If I'm in my CMS and ctrl-N to get a new window, I can operate u

Re: [PHP] php sessions

2003-10-28 Thread CPT John W. Holmes
From: "Chris Shiflett" <[EMAIL PROTECTED]> > > But I was talking about cookies anyway. Which is where different > > browsers have different behaviors. In IE, by default, it will not > > pass a cookie from a new browser window. > > This is very interesting. I might try to research this a bit more an

Re: [PHP] php sessions

2003-10-28 Thread Chris Shiflett
--- Rob Adams <[EMAIL PROTECTED]> wrote: > That doesn't seem to be what he's saying. > > "because of the different session IDs." > > It seems to me a better example of what he is saying would be: > http://example.org/foo.php?PHPSESSID=12345 > vs. > http://example.org/foo.php?PHPSESSID=67890 Perh

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- "CPT John W. Holmes" <[EMAIL PROTECTED]> wrote: > > If you are not relying on a cookie based session, then this will > > work. Each login could be assigned a different session ID, so the > > requests for each browse

Re: [PHP] php sessions

2003-10-28 Thread Chris Shiflett
--- "CPT John W. Holmes" <[EMAIL PROTECTED]> wrote: > If you are not relying on a cookie based session, then this will > work. Each login could be assigned a different session ID, so the > requests for each browser will be different because of the different > session IDs. What John is explaining h

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
Another test: I just downloaded and installed Mozilla (1.5). I logged into my site, opened another window, and was logged in there also. I logged out of the second window, hit a "Home" link on the first window, and got a login screen. This is new behavior for a browser for me, but now I underst

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Rob Adams ([EMAIL PROTECTED]): > > I will test it, because it seems I don't understand this issue as much as I > > could. But I can already tell you results I see right now: > > > > I open a web browser (IE)

Re: [PHP] php sessions

2003-10-28 Thread Curt Zirzow
* Thus wrote Rob Adams ([EMAIL PROTECTED]): > I will test it, because it seems I don't understand this issue as much as I > could. But I can already tell you results I see right now: > > I open a web browser (IE) and login to my application. I open another > window (IE) and goto the web applicat

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
So you're saying if the session ID is passed in on the URL it will work. But I'm using cookies. The only thing that gets passed on the URL is a pagename. Perhaps there is something funky about my setup, but it has always worked this way for me. -- Rob "Cpt John W. Holmes" <[EMAIL PROTECTED]>

RE: [PHP] php sessions

2003-10-28 Thread Pablo Gosse
To: [EMAIL PROTECTED] Subject: Re: [PHP] php sessions I will test it, because it seems I don't understand this issue as much as I could. But I can already tell you results I see right now: I open a web browser (IE) and login to my application. I open another window (IE) and goto the web appl

Re: [PHP] php sessions

2003-10-28 Thread CPT John W. Holmes
From: "Chris Shiflett" <[EMAIL PROTECTED]> > --- Rob Adams <[EMAIL PROTECTED]> wrote: > > Test it yourself. > > With all due respect, it seems you should be doing the testing. > > > Login to a PHP app using a standard browser and session cookies > > and see for yourself. I understand the philosop

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
I will test it, because it seems I don't understand this issue as much as I could. But I can already tell you results I see right now: I open a web browser (IE) and login to my application. I open another window (IE) and goto the web application, and it asks me to login. This is all on the same

Re: [PHP] php sessions

2003-10-28 Thread Chris Shiflett
--- Rob Adams <[EMAIL PROTECTED]> wrote: > Test it yourself. With all due respect, it seems you should be doing the testing. > Login to a PHP app using a standard browser and session cookies > and see for yourself. I understand the philosophy of the web > server only seeing what the client sends

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- Rob Adams <[EMAIL PROTECTED]> wrote: > > > I'm not sure if this fits your definition of "new browser > > > instance", but there is no way for a remote Web server to > > > distinguish between two instances of the sam

Re: [PHP] php sessions

2003-10-28 Thread Chris Shiflett
--- Rob Adams <[EMAIL PROTECTED]> wrote: > > I'm not sure if this fits your definition of "new browser > > instance", but there is no way for a remote Web server to > > distinguish between two instances of the same browser running > > on the client machine. > > That can't be true. It can, and it

Re: [PHP] php sessions

2003-10-28 Thread Rob Adams
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- "S.P.Vimala" <[EMAIL PROTECTED]> wrote: > > How to create a unique session for every new browser instance? > > I'm not sure if this fits your definition of "new browser instance", but there > is no way for a remote W

Re: [PHP] php sessions

2003-10-28 Thread Chris Shiflett
--- "S.P.Vimala" <[EMAIL PROTECTED]> wrote: > How to create a unique session for every new browser instance? I'm not sure if this fits your definition of "new browser instance", but there is no way for a remote Web server to distinguish between two instances of the same browser running on the clie

[PHP] php sessions

2003-10-28 Thread S.P.Vimala
Hi, I'm developing a web application which is making use of sessions. I have the following configuration is my php.ini file session.use_cookies = 0 session.use_trans_sid = 1 session.auto_start = 0 register_globals = On This does not give me a new session_id when the application is ope

[PHP] PHP Sessions

2003-10-25 Thread Phil King
Hi All, I have a login page that which verifies he username & password against a MySql database and then passes the username to another page as a session. I created this on my PC, which is running PHP version 4.3.2, and it works with no problem. My host has the following set on the server which

[PHP] PHP SESSIONS and FRAMES

2003-08-03 Thread Ralph Guzman
I have a shopping cart with affiliate sales support. What's happening is that some affiliates are using frames to use their domain while using our shopping cart. So they are using a frameset like this: http://www.domain.com/?store_id=15008";> The problem I'm having is that sessions ar

[PHP] PHP Sessions

2003-07-30 Thread Lee Stewart
Hi Curt, No I didn't see a post about space on /tmp... Using df it shows the file system to only be about 70% full, so there's plenty of space there. Did you mean something else? Any other thoughts on where to look? Thanks, Lee * Thus wrote Lee Stewart ([EMAIL PROTECTED]): > Using the $_

[PHP] PHP Sessions and Cookies

2003-06-30 Thread Matt MacLeod
Guys/Gals, I've built a registration page on a site that stores a unique id for a user when they register. That id is then stored in a database and set as a session variable and as a cookie and is used to register personal user preferences. The reason I use both is that I don't really want to m

Re: [PHP] PHP Sessions Not Saving

2003-02-04 Thread Jonathan Wright
At around Tue, Feb 04, 2003 at 02:06:35PM +0800, Jason Wong constructed the following notation: > > > > > > Recompile, why? How about a link? > > > > > > ln -s /sbin/sendmail /usr/sbin/sendmail > > > > During the ./configure part of the installation, PHP checks for > > sendmail, but only in /sbin

Re: Re: [PHP] PHP Sessions Not Saving

2003-02-03 Thread nick
This is a system automated E-Mail reply. If you email is a request for support then please visit the below URL and lodge your support request. If you cannot access the below URL, then please email [EMAIL PROTECTED] for prompt support. http://www.wildcomm.net/support.php If this is not a

  1   2   >