Passing variables between pages



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




.



Relevant Pages

  • Re: [PHP] Passing variables between pages
    ... Jason Pruim wrote: ... Use sessions? ... Use cookies? ... 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. ...
    (php.general)
  • Re: [PHP] Changing Session Timeout
    ... The usual suspcect is that your server clock and your desktop clock ... user's PC clock to be correctly set. ... you're better off to use session cookies or cookies ... with super long expiration times, and then micro-manage the timing of ...
    (php.general)
  • Re: Old clocks: whats the difference between . . .
    ... Oak came in and went out in fashion, ... furniture as well as clocks. ... This assumes that the original movement is still with the clock. ... Sessions, I don't believe, stamped the dates on their clock. ...
    (alt.horology)
  • Re: Just a small (maybe stupid) question
    ... > No, it is not a stupid question, but many fools will provide you with ... the clock should be running slower at the equator. ...
    (sci.physics.relativity)
  • RE: Clock not displayed
    ... causing unnecessary overhead to Terminal Server Client ... sessions. ... This is the reason the clock is turned off by default. ... To add the clock to Terminal Server or RDP Session: ...
    (microsoft.public.windows.server.active_directory)