This is a migrated thread and some comments may be shown as answers.

use session o redirect querystring

2 Answers 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Fabio Cirillo
Top achievements
Rank 1
Fabio Cirillo asked on 18 Feb 2013, 09:06 AM
Hi,
I have a doubt, to pass values ​​between asp.net web pages better to use session or querystring redirect? The site may also have a lot of people online at the same time

2 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 20 Feb 2013, 06:38 PM
Hello,

This thing is based on requirement.

like.

if i want to pass logged user info from one page to another then i use session.

if i want to pass data from one page to another which do not need any privacy.security then i used querystring.

..................
Session : store in server, very secure
Query String: store in (client) browser, very less secury

Thanks,
Jayesh Goyani
0
Fabio Cirillo
Top achievements
Rank 1
answered on 21 Feb 2013, 10:26 AM
hello,
ok thank you
Tags
General Discussions
Asked by
Fabio Cirillo
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Fabio Cirillo
Top achievements
Rank 1
Share this question
or