> 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
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 previous to that.
I am u
> 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
Well, that is natural - cookies can only be set before any output is
produced by the script. And since sessions in this case use cookies, it
follows that sessions can also be started before any output is produced.
Why is that? Because cookies are transmitted by means of http headers, and
http heade
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
> 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 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
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
13 matches
Mail list logo