Re: [PHP] Sessions and cookies

2005-02-22 Thread Chris Shiflett
> When a session object is created - where is it store? Assuming you mean session data, it is stored on the server, in /tmp by default. > To destroy the session object (widht all session vairables inside the > particluar session object) can I use session_destroy(); http://www.php.net/session_des

Re: [PHP] Sessions and cookies

2005-02-22 Thread Jochem Maas
Brett Patterson wrote: Well, if you look in your phpinfo() file, you will see a SESSION_TIMEOUT or SESSION_LENGTH value that is something like 18... different for each server. If you hold all your session values in the array, then you can use session_destory(); as long as session_start() is pre

RE: [PHP] Sessions and cookies

2005-02-21 Thread Brett Patterson
under the impressions that both Sessions and Cookies are stored on the user end, but I may be wrong. ~Brett -Original Message- From: Jacques [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:20 AM To: php-general@lists.php.net Subject: [PHP] Sessions and cookies When a session

[PHP] Sessions and cookies

2005-02-21 Thread Jacques
When a session object is created - where is it store? (Perhaps on the application server - IIS or Appatche?) Or on a cookking on a user's computer? To destroy the session object (widht all session vairables inside the particluar session object) can I use session_destroy(); What is also the def

[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

[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] Sessions and Cookies

2003-02-05 Thread 1LT John W. Holmes
> I'm trying to use cookies in PHP4 (.whatever the latest release is). I want > to use them for validation (ensuring a user has logged in) but all I can find > is setcookie, which seems only to create the cookie. In trying to use PHP > sessions, I end up with odd errors. > > When I try to use ses

Re: [PHP] Sessions and Cookies

2003-02-04 Thread Dmitri
7;, as ; a value for this directive (e.g., output_buffering=4096). output_buffering = On --- Yours trully, --Dmitri - Original Message - From: "acleave" <> To: "php-general" <[EMAIL PROTECTED]> Sent: Wednesday, February 05, 2003 12:01 AM Subject: [PHP] S

Re: [PHP] Sessions and Cookies

2003-02-04 Thread Leif K-Brooks
acleave wrote: My Questions: If I create a cookie with set_cookie how do I read it/check it? $_COOKIE superglobal array. How do I use sessions if they can't be sent in the code? The session_start function has to be at the VERY top of the of the code, below ANY output (even blank spaces

[PHP] Sessions and Cookies

2003-02-04 Thread acleave
I'm trying to use cookies in PHP4 (.whatever the latest release is). I want to use them for validation (ensuring a user has logged in) but all I can find is setcookie, which seems only to create the cookie. In trying to use PHP sessions, I end up with odd errors. When I try to use sessions I

Re: [PHP] Sessions and Cookies

2002-10-08 Thread 1LT John W. Holmes
> On Tuesday 08 October 2002 23:34, R. Z. wrote: > > I've just read on MSDN that ASP sessions only work if the client has > > cookies enabled, > > > > Is that true for PHP as well. > > Yes. > > Note that some browsers actually differentiate between session cookies (stored > in memory) and 'permane

Re: [PHP] Sessions and Cookies

2002-10-08 Thread Jason Wong
On Tuesday 08 October 2002 23:34, R. Z. wrote: > I've just read on MSDN that ASP sessions only work if the client has > cookies enabled, > > Is that true for PHP as well. Yes. Note that some browsers actually differentiate between session cookies (stored in memory) and 'permanent' cookies (stor

RE: [PHP] Sessions and Cookies

2002-10-08 Thread Jon Haworth
Hi, > I've just read on MSDN that ASP sessions only work if > the client has cookies enabled, Is that true for PHP as well. No, not if you have "session.use_trans_sid = 1" in your php.ini. Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] Sessions and Cookies

2002-10-08 Thread @ Edwin
No. http://www.php.net/manual/en/ref.session.php - E R. Z. wrote: > I've just read on MSDN that ASP sessions only work if the client has > cookies enabled, > > Is that true for PHP as well. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/

[PHP] Sessions and Cookies

2002-10-08 Thread R . Z .
I've just read on MSDN that ASP sessions only work if the client has cookies enabled, Is that true for PHP as well. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions and Cookies on Macs

2001-08-28 Thread Richard Baskett
I just used the url to pass it since no matter what I did I couldn¹t seem to get it to work when cookies were turned off on my mac. I've read the session url on the php site from top to bottom and the transparent sessions are even enabled on the server, but yet to no avail on the mac :( > on 8/2

Re: [PHP] Sessions and Cookies on Macs

2001-08-28 Thread mike cullerton
on 8/27/01 10:31 AM, Richard Baskett at [EMAIL PROTECTED] wrote: > Ok on a pc when I have cookies turned off I am still able to access my > session variables, but on a mac I can not. Is there a difference between > the way session variables are stored on each platform? And if a session is > ind

[PHP] Sessions and Cookies on Macs

2001-08-27 Thread Richard Baskett
Ok on a pc when I have cookies turned off I am still able to access my session variables, but on a mac I can not. Is there a difference between the way session variables are stored on each platform? And if a session is indeed a cookie, then why does the session still work on pc's with cookies di

Re: [PHP] sessions and cookies

2001-03-31 Thread \[Inf\] F!RE-WALL
I don't recommend putting the Session ID in the URL. Subscibed members could pass URL's to eachother and that way they could have eachother's settings. ""David Hynes"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am using sessions to password protect a sec

[PHP] sessions and cookies

2001-03-31 Thread David Hynes
I am using sessions to password protect a section of a website. I am storing the session ID in a cookie but just in case cookies are not enabled, I am also passing the session ID in the query string to each page in the protected directory. Please can someone tell me if this could cause any probl