Home
Forums
Articles
Glossary
Awards
Register
Rules
Members
Search
Today's Posts
Mark Forums Read
Account Login
User Name
Password
Remember Me?
Latest Articles
The basic usage of PHPTAL, a XML/XHTML template library for PHP
by
awuehr
on
11-10-2008
in
Tips & Tricks
Vulnerable methods and the areas they are commonly trusted in.
by
Village Idiot
on
11-04-2008
in
Classes & Objects
Simple way to protect a form from bot
by
codefreek
on
10-23-2008
in
Basic
The Basics On: How Session Stealing Works
by
wiifanatic
on
09-12-2008
in
Security & Permissions
How to keep your forms from double posting data
by
drewbee
on
07-03-2008
in
Tips & Tricks
IRC Channel
Join the friendly bunch on IRC...
(
#TalkPHP on Freenode
)
...Also available via a
web interface
.
See
this thread
for information on the TalkPHP Free Hugs Initiative™.
Subject to availability.
Associates
Wired Flame
ClientExec
Handy PHP
PHP Kitchen
PHP Tutorials
Insane Visions
Associates
TalkPHP
>
Search Forums
»
Search Results
Showing results 1 to 5 of 5
Search took
0.00
seconds.
Search:
Posts Made By:
svdelle
Forum:
Absolute Beginners
10-07-2009, 10:41 AM
Replies:
6
Singleton in Session variable?
Views:
2,692
Posted By
svdelle
Nope, variable still gets reset on every request....
Nope, variable still gets reset on every request. The singleton gets reinstanciated every freakin' time on the roundtrip to the server.
Simply cannot see how the singleton design pattern is of ANY...
Forum:
Advanced PHP Programming
10-07-2009, 10:09 AM
Replies:
27
How to use the Singleton design pattern
Views:
123,155
Posted By
svdelle
And that would meen a roundtrip to a file on the...
And that would meen a roundtrip to a file on the client, or the database on the server. It seems pretty lame, that you cannot simply store a single instance of an object in a server variable.
Forum:
Absolute Beginners
10-06-2009, 08:36 PM
Replies:
6
Singleton in Session variable?
Views:
2,692
Posted By
svdelle
Thanks, I'll check it out.
Thanks, I'll check it out.
Forum:
Absolute Beginners
10-06-2009, 01:37 PM
Replies:
6
Singleton in Session variable?
Views:
2,692
Posted By
svdelle
Singleton in Session variable?
How can I store a singleton in a session variable, and only change properties if $_GET['lang'] is set?
Forum:
Advanced PHP Programming
10-06-2009, 12:06 PM
Replies:
27
How to use the Singleton design pattern
Views:
123,155
Posted By
svdelle
Singleton and PHP?
Yeah, and why all this talk about singleton in PHP when ALL variables containing a singleton is destroyed on new request.
It seems we have this great pattern that is absolutely useless when it comes...
Showing results 1 to 5 of 5
All times are GMT. The time now is
12:17 PM
.
Contact Us
-
TalkPHP - PHP Community
-
Archive
-
Top
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by
vBSEO
3.1.0
Inactive Reminders By
Icora
Web Design