• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 445
  • Last Modified:

using a session to pass a value from one page to another

I have a private admin section and one of the pages the user can view a load of outstanding jobs and for each one click a link to view more on that job.

This then re-directs them to a page where they see the additional data.

I don't want the user to see any id's in the querystring so I'm wondering is there anything inherently wrong with putting the id into a session variable, re-direct to the other page and then pull it out of session and destroy the session variable.

Any input appreciated.
1 Solution
Ronak PatelCommented:
Yes, you can certainly use Session variables to pass information between pages.

If you are facing any issues with this, you can post here.
scm0smlAuthor Commented:
No issues just wondering whether this is good practice or  if there is a better solution....?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now