Welcome to Geeklog, Anonymous Tuesday, June 25 2024 @ 01:55 am EDT

Geeklog Forums


Status: offline


Forum User
Registered: 02/04/03
Posts: 64
I'm working on a script where a user can select a value from a drop down menu to view records from a particular fiscal year. The problem is, as they click other links and options, the fiscal year they've selected reverts back to the current year.

I'm considering writing this value into the $_SESSION superglobal, but wanted to check with those who are in-the-know first, to be sure that if I go tinkering with $_SESSION, I won't run into problems with Geeklog as a whole. I found this post where Blaine points out that support for php sessions was being added, so just wanted to double check before I committ myself to this plan of action.

Thank You! Smile


You should be able to use it fine. I'd be sure to put a name on the session variable that wouldn't possibly get stepped on by Geeklog (e.g.
Text Formatted Code
$_SESSION['someprefix_fiscal_year'] = 2004;



Quote by Tony: You should be able to use it fine.


Funny, I had _exactly_ the same question as bcbrock today.

Thanks for the reply, Tony!

All times are EDT. The time is now 01:55 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content