Hi,
I was reading this article:
http://www.phppatterns.com/index.php/article/articleview/6/1/1/ .
I have a question about it. If you create this static Singleton object,
does it persist in memory globally? Or is it recreated each time a .php
page is requested?
Thanks
Paul
__
Hello all,
I have some questions regarding caching information with PHP. I was
thinking that I might cache all information that won't be changing for long
periods of time...possibly only once a day or so, instead of querying the
database for information every time. My question is: is there su
Would I also have to write the sess_write() and sess_read() functions? If I
want to store an array or object, how would I go about doing that?
Paul
From: Jason Barnett <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Customer Session Handlers Using MySQL
Date: Tue, 25 May 2004 12:41:
Sorry for the double post, but that should be Custom not Customer.
Paul
From: "Paul Higgins" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP] Customer Session Handlers Using MySQL
Date: Tue, 25 May 2004 13:26:32 -0400
Hello all,
I found a quick tutorial on how to write a
Hello all,
I found a quick tutorial on how to write a session handler that uses MySQL
(http://phpbuilder.com/columns/ying2602.php3?page=1 ).
I have a couple of questions regarding this type of session handling:
1) Does this mean that I cannot use the $_SESSION[] variable to enter
informatio
Ok, thanks.
One other question. If I use the example I cited earlier, are the session
values still stored in a flat file? Or do I have to replace that with
database entries?
Thanks.
From: "John W. Holmes" <[EMAIL PROTECTED]>
Reply-To: "John W. Holmes" <[EMAIL
Hi all,
I just read this tutorial:
http://www.phpbuilder.com/columns/ying2602.php3
I understand what each function does and what to do in each function.
However, my question is this: If I write my own session handling functions,
do I have to explicity call them myself? If so, when do I
ction.
Thanks!
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: [PHP] Re: Active PHP Sessions
Date: Fri, 7 May 2004 12:17:32 -0400
adodb also handles sessions in a database
http://phplens.com/lens/adodb/docs-session.htm
- Original Message -
From: "Paul Higgins&q
Ok, thanks. I didn't think it would make a difference. And I agree,
splitting things up makes things a lot easier.
Thanks!
From: "Ryan A" <[EMAIL PROTECTED]>
Reply-To: "Ryan A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: [PHP] PHP Website Architecture
Date: Fri, 7 May 2004 17:51:
Hi all,
I have a question regarding website design with PHP. Is it better to have a
single PHP script produce different content or have a separate PHP script
for every action.
For example, if an error occurs, should I have the same PHP script produce
an error page or have a separate PHP scrip
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Active PHP Sessions
Date: Fri, 7 May 2004 20:50:18 +0800
On Friday 07 May 2004 20:32, Paul Higgins wrote:
> I'm on a shared server, and I do not believe that I have access to the
/tmp
> directory where the session files are
ive PHP Sessions
Date: Fri, 7 May 2004 15:30:29 +0200
"Paul Higgins" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I'm on a shared server, and I do not believe that I have access to the
/tmp
> directory where the session files are stored
Hi all,
I'm on a shared server, and I do not believe that I have access to the /tmp
directory where the session files are stored (I believe that is how it works
:). I want to keep track of which sessions are active. Basically, I just
want a list of the active sessions for my site.
How can I
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.
Are there any special headers that I could use?
Paul
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: [PHP
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 (EST)
Is it
AAAGGGH!!
I asked my hosting company where they were stored...on the server...I am so
mad at myself...all that time wasted. Thanks for the help though...it was
much appreciated!
Paul
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sub
When I do: print_r($_COOKIE); I get the following:
Array ( [PHPSESSID] => 11781ce29c68ca7ef563110f37e43f38 )
Does that mean its setting the Cookie? I can't see the cookie on my
computer. I don't have cookies disabled because I'm getting cookies from
other sites. The privacy setting is set to
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
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
Hi everyone,
I have a bit of a dilemma. I am using a Miva Shopping Cart, not through any
desire of mine but my client wants it, at least for now. However, instead
using the provided Store front, we want to create our own. Here is the
dilemma:
Miva uses cookies, which is fine. However, the
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
21 matches
Mail list logo