I have succesfully bind a datagrid with a in memory dataset .Later I save this dataset in to session variable. , I changed values inside the datagrid using dropdown controls . I have a save button in the footer of the datagrid . When , I click this button
, the postback happens and datagrid itemcommand gets executed . Here , when I check the session variable's value , it shows nothing . Once in a while (3 times out of 10 tries) , session variable shows value , and the programme executes fine . Please let
me know , why this strange behaviour ? Is there any curruption in IIS ? How to deal with this ?
Yes sir ...I also guess there is a problem in storing sesionids in cookies and cookies are not geting persisted . However in IIS asp.net tab , edit configuration is disabled...(Although I am admin of local PC) ...Can u help me more on this ?
bhatn
Member
222 Points
61 Posts
session variable empty in post back
Feb 04, 2006 01:29 PM|LINK
Hi,
I have succesfully bind a datagrid with a in memory dataset .Later I save this dataset in to session variable. , I changed values inside the datagrid using dropdown controls . I have a save button in the footer of the datagrid . When , I click this button , the postback happens and datagrid itemcommand gets executed . Here , when I check the session variable's value , it shows nothing . Once in a while (3 times out of 10 tries) , session variable shows value , and the programme executes fine . Please let me know , why this strange behaviour ? Is there any curruption in IIS ? How to deal with this ?
Bhat
wyx2000
Contributor
3388 Points
873 Posts
Re: session variable empty in post back
Feb 06, 2006 09:24 AM|LINK
bhatn
Member
222 Points
61 Posts
Re: session variable empty in post back
Feb 07, 2006 03:35 AM|LINK
Yes sir ...I also guess there is a problem in storing sesionids in cookies and cookies are not geting persisted . However in IIS asp.net tab , edit configuration is disabled...(Although I am admin of local PC) ...Can u help me more on this ?
Bhat