Re: Passing variables between pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Jason Pruim wrote:
Hi everyone,

Stupid question of the week...

A array variable is not being passed between 2 pages. Are my options:

#1. Use sessions?

#2. Use cookies?

#3. Use a hidden form to pass the variable's around?

Here's some context... I am working on a timecard system where they are presented the main page, where they login they are brought to a screen where they need to clock in/out. It all starts working great, but when they clock in/out it loses the variable that says they are logged in so it tries to re-authenticate them which doesn't work since the username/password are no longer in the $_POST array...

I can provide code if needed, but I think it's just a logic problem on my end :)


--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
11287 James St
Holland, MI 49424
www.raoset.com
japruim@xxxxxxxxxx





Well actually these are the *obvious* options but by far not the only. These two for e.g. are extra options you have:

http://www.php.net/manual/en/intro.msession.php

http://www.php.net/manual/en/intro.memcache.php

--
Thodoris


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux