> 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
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
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
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
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
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
> 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
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
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
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
> 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
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
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/
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/
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
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
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
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
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
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
20 matches
Mail list logo