1
ap1239
How do you add a session variable?
  • 2005/3/26 10:40

  • ap1239

  • Just popping in

  • Posts: 9

  • Since: 2004/10/27


I want to add a state variable on the server that persists with the session. e.g. user sets $currentMonth variable on one page, then when visiting other pages in the module, data will show for that month.
How is this done?

2
Mithrandir
Re: How do you add a session variable?

$_SESSION['currentMonth'] = $currentMonth;

Login

Who's Online

280 user(s) are online (62 user(s) are browsing Support Forums)


Members: 0


Guests: 280


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits