Hello,
Thanks for the replies ... I valid all the data and input from the
user. So if the user changes the value nothing bad will happen:
I have in the code:
if ($var != $hiddenvar) {
e-mail blank saying "Blank has been updated"
}
That is it ... I made a mistake in my last e-mail ..
Tom Rogers wrote:
store it in the session like:
$_SESSION[session_id()]['dbkey'] = $dbkey;
then get it back with
$dbkey = (isset($_SESSION[session_id()]['dbkey']))? $_SESSION[session_id()]['dbkey'] : 0;
That doesn't negate the problem of people having more than one window
open and editing records
Michael Gale wrote:
Now at the moment on
each page is a hidden variable containing a db primary key for which the
data is getting updated.
I know that hidden values are not a good idea since the user can change
them ... so I was going to store the hidden value in a "$_SESSION"
variable but then the
Hi,
Monday, July 5, 2004, 1:27:12 PM, you wrote:
MG> Hello,
MG> I am working on a web site that is available only over HTTPS and am
MG> using session tracking.
MG> So far I am only saving the person's display name (different then
MG> login), site role and e-mail address in the "$_SESSION" da
Hello,
I am working on a web site that is available only over HTTPS and am
using session tracking.
So far I am only saving the person's display name (different then
login), site role and e-mail address in the "$_SESSION" data.
The rest of the site is dynamic, now the question is on thre
> Do we have to use the key word
> session_register("variablename");
> in every single page, in which we plan to use the "variablename"?. Or
is
> it
> possible that we register the variablename once, and in the subsequent
> pages
> continue to access it using $variablename ?
You just have to cal
Hello all,
This may be a pretty naive question.
Do we have to use the key word
session_register("variablename");
in every single page, in which we plan to use the "variablename"?. Or is it
possible that we register the variablename once, and in the subsequent pages
continue to access it using $v
You need to make sure you do a session_start at the beginning of each page
example:
First Page:
Other Pages:
> Hi All,
> I have a problem in session tracking,
>
> After checking User name and password from database, I register a
> session as
>
> session_register("User_name");
>
> For nex
Hi All,
I have a problem in session tracking,
After checking User name and password from database, I register a
session as
session_register("User_name");
For next page authentication, at the top of every page i check
if ($HTTP_SESSION_VARS["User_name"] != "")
{
// Display Page Cont
Hi Sir,
I have a problem in session tracking,
After checking User name and password from database, I register a
session as
session_register("User_name");
For next page authentication, at the top of every page i check
if ($HTTP_SESSION_VARS["User_name"] != "")
{
// Display Page Con
Wade -
I am very new with using PHP so I cannot submit my answer as "what most
use". However, here is what I use:
I do not like to be dependent on Cookies. For me, Cookies are a
convenience. That is, I may store a UserID and if it is in a Cookie,
use the ID to put up a greeting or whatever.
Wade D wrote:
> what do most use, combination of cookies and GET?
IMHO the optimal solution are cookies with a fallback to GET.
In some situations, though, it may be better to drop cookies completely.
Wagner
--
One maniac alone can do what 20 together cannot
--
PHP General Mailing List (htt
what do most use, combination of cookies and GET?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
13 matches
Mail list logo