Passing Variables Securly Over Multiple Pages

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
juuuugroid
Forum Newbie
Posts: 3
Joined: Thu Apr 18, 2002 4:05 pm

Passing Variables Securly Over Multiple Pages

Post by juuuugroid »

Hi,

It has been many years since I programmed any php. I am going to be programming some pages in the coming weeks. I need to pass multiple variables between pages. I used to pass the variables through sessions, but it has been so long, I am not sure this is still the current technology. Can anybody tell me how to pass multiple variables between pages?

For example, game scores, previous moves in a game, user positions, user names, etc.

Thanks for your response
Hannes2k
Forum Contributor
Posts: 102
Joined: Fri Oct 24, 2008 12:22 pm

Re: Passing Variables Securly Over Multiple Pages

Post by Hannes2k »

Hi,
sessions are just fine. There is no other (secure) technology for making a stateless protocol (HTTP) stateful.
juuuugroid
Forum Newbie
Posts: 3
Joined: Thu Apr 18, 2002 4:05 pm

Re: Passing Variables Securly Over Multiple Pages

Post by juuuugroid »

Thanks for the advice!
Post Reply