Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2012-03-26
2
Medium Priority
?
432 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

721 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