Click here to Skip to main content
15,892,480 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: unable to retain value of session variable Pin
Yusuf2-Apr-09 13:17
Yusuf2-Apr-09 13:17 
GeneralRe: unable to retain value of session variable Pin
Yusuf2-Apr-09 13:14
Yusuf2-Apr-09 13:14 
GeneralRe: unable to retain value of session variable Pin
Colin Angus Mackay2-Apr-09 13:31
Colin Angus Mackay2-Apr-09 13:31 
GeneralRe: unable to retain value of session variable Pin
Colin Angus Mackay2-Apr-09 13:42
Colin Angus Mackay2-Apr-09 13:42 
GeneralRe: unable to retain value of session variable Pin
Yusuf2-Apr-09 16:51
Yusuf2-Apr-09 16:51 
AnswerRe: unable to retain value of session variable Pin
Alok Sharma ji2-Apr-09 13:08
Alok Sharma ji2-Apr-09 13:08 
GeneralRe: unable to retain value of session variable Pin
parkash_C2-Apr-09 13:22
parkash_C2-Apr-09 13:22 
GeneralRe: unable to retain value of session variable Pin
dotnetmember2-Apr-09 21:28
dotnetmember2-Apr-09 21:28 
The code Request.QueryString("cid") is correct.
what i feel after reading ur posts is that u r not sure of what is a session, query string....
The statment Request.QueryString("cid") doesn't read value from session but it reads values from
Response.Redirect("details.aspx?cid=" &cid, False) that what u specified in the previous page.

If u r sure that cid has valuses frm previous page,then it is sure that u can retrieve that value using Request.QueryString("cid").

To read value frm session, use some variable var=Session("cid")
then the variable var wil contain the value wat u assigned in the previous page.
Moreover viewstate is used hold values pertaining to a single page.The value stored in viewstate can't be retrieved in next page.
Before using al these things, first go through basics like what is viestate,session,application variables, query string and so on. its helps u a lot.. Smile | :)
Happy Coding...
Generaldeclare ValueFromDB Pin
David Mujica2-Apr-09 7:55
David Mujica2-Apr-09 7:55 
GeneralRe: declare ValueFromDB Pin
Colin Angus Mackay2-Apr-09 8:13
Colin Angus Mackay2-Apr-09 8:13 
GeneralRe: declare ValueFromDB Pin
Yusuf2-Apr-09 9:50
Yusuf2-Apr-09 9:50 
Questionperform subtration on a field obtained from DB but not getting correct value as result Pin
Meax2-Apr-09 7:09
Meax2-Apr-09 7:09 
AnswerRe: perform subtration on a field obtained from DB but not getting correct value as result Pin
ToddHileHoffer2-Apr-09 7:44
ToddHileHoffer2-Apr-09 7:44 
QuestionAjax ModalPopUpExtender Not Hiding on Load? Pin
codingrocks2-Apr-09 6:29
codingrocks2-Apr-09 6:29 
AnswerRe: Ajax ModalPopUpExtender Not Hiding on Load? Pin
Alok Sharma ji2-Apr-09 12:46
Alok Sharma ji2-Apr-09 12:46 
Questioncan somebody please tell me why this will not work? Pin
learningman2-Apr-09 5:55
learningman2-Apr-09 5:55 
AnswerRe: can somebody please tell me why this will not work? Pin
Yusuf2-Apr-09 6:15
Yusuf2-Apr-09 6:15 
GeneralRe: can somebody please tell me why this will not work? Pin
learningman2-Apr-09 10:30
learningman2-Apr-09 10:30 
Question[Message Deleted] Pin
liz32-Apr-09 5:38
liz32-Apr-09 5:38 
AnswerRe: Cookie concept question Pin
Yusuf2-Apr-09 5:50
Yusuf2-Apr-09 5:50 
QuestionResources Allocation in asp.net Pin
MallikarjunaGupta2-Apr-09 5:22
MallikarjunaGupta2-Apr-09 5:22 
AnswerRe: Resources Allocation in asp.net Pin
Yusuf2-Apr-09 5:35
Yusuf2-Apr-09 5:35 
Questionthe question about ActiveReport 2.0 with vb.net ... Pin
ice-hotty2-Apr-09 5:04
ice-hotty2-Apr-09 5:04 
GeneralRe: dropdownlist proble Pin
indian222-Apr-09 4:18
indian222-Apr-09 4:18 
GeneralRe: dropdownlist proble Pin
Yusuf2-Apr-09 5:42
Yusuf2-Apr-09 5:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.