|
Sessions in PHP seemed to have changed since the last time I used them, so I'm looking for a simple way of using sessions but at the same time for it to be relatively secure and a good common practice.
Started by fuentesjr on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Note that you can use an object to contain, get, and post with a similar (yet... .
Sessionid = session_id();
Another thing that is good practice is if you are doing some kind of user login gives a unified way of implementing session backends.
|
|
I just read about the breadth-first search algorithm in the Introduction to Algorithms book and I hand simulated the algorithm on paper. What I would like to do now is to implement it in code for extra practice.
I was thinking about implementing all the...
Answer Snippets (Read the full thread at stackoverflow):
The best way to really of understanding instead of simply accepting....
I agree with balpha.
I personally think that the best way to understand those would be implementing the graph algorithms but it looks like a good tool for experimentation.
|
|
I love the AS3 event model - it helps keep my code clean and lossely coupled. When I used to work on AS2 projects, my code was not so neat and classes were more reliant on one another. Due to AS2's strange handling of scope I never really got on with ...
Started by Iain on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I would guess the best practice would be to use the EventDispatcher class where ever posible.
|
Ask your Facebook Friends
|
Mostly people say Scrum and Agile interchangeably but what is the difference between Scrum Practice as compared to Agile Practice ?
Started by Rachel on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Agile describes a family of practices....
Scrum is a very specific set of practices.
Agile is a general philosophy regarding software production, Scrum is a an implementation of that philosophy pertaining specifically to project management .
|
|
I've been wondering this for a while now, but what is the best way to ensure that in a web app (RoR, Sinatra, PHP, anything) that when you are creating links (either generating with a method, or writing in by hand) that they go to the proper place whether...
Started by Daniel Huckstep on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
In a way.
Is a good one, but I think a simpler way to do this is just to precede all your links with a leading about trying to set the base element in the head of you html layout?
First, get the URL, eg.
|
|
I want to allow users to validate their email address by clicking on a link. The link would look something like
http://www.example.com/verifyemail?id=some-random-string
When I am sending this email, I want to be able to easily generate this 'some-random...
Started by Manish on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
For example, to generate a hash of user's row id, you .
That way you (one-way function) of some of the user's data.
Of the email address and store it in a database along with the email address itself .
|
|
It seems I'm coding contact forms for someone or another every week. I've developed a validate/mail client/mail thankyou/save to DB/thankspage process that's fairly robust but I was wondering what lessons others have for performing this most common of...
Started by Dan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
We use a honeypot technique which we.
I would give you is to come up with a good way to prevent spam.
|
|
Like many people here, I started my programming experience with the good ol' green screen BASIC that you get when you booted an Apple II without a disk. I taught myself C++ in my teens, and even took a class on it in college, but as soon as I discovered...
Started by Josh E on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
This is the only way I can.
I find the best way to start using a new technology (or refreshing an old one) is to find a project that scratches an itch that I am genuinely interested in.
Very much.
|
|
Just before the holiday I managed to get the welder all wired up. Ran the electricity from the house breaker box to the garage. Took about 50 ft. of 6/2 gauge wire to get there. We'll see how the electricity bill changes in January
It shares the same ...
Started by TwoTonTex on
, 11 posts
by 6 people.
Answer Snippets (Read the full thread at weldingweb):
I'll have to rig up some scrap to practice those the stickout to adjust the way....
Certain skills like stick out and gun angle do make a big difference in weld quality great answers and I appreciate the diagram as well .
Time you practice.
|