Solved

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

Posted on 2012-03-26
2
364 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
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
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.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now