• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 448
  • 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.
0
scm0sml
Asked:
scm0sml
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.
0
 
scm0smlAuthor Commented:
No issues just wondering whether this is good practice or  if there is a better solution....?
0
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

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

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