Solved

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

Posted on 2012-03-26
2
423 Views
Last Modified: 2012-06-21
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
Comment
Question by:scm0sml
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
Ronak Patel earned 500 total points
ID: 37766228
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
 

Author Comment

by:scm0sml
ID: 37766286
No issues just wondering whether this is good practice or  if there is a better solution....?
0

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question