Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 01, 2010 10:24 AM by svibuk
Member
623 Points
802 Posts
Dec 01, 2010 08:29 AM|LINK
i think this is browser problem in internet explorer some time session hav value some time not..but in Mozilla session not retain value
717 Points
1737 Posts
Dec 01, 2010 08:40 AM|LINK
put alert in
Session["User"] = user_id;
msgbox(user_id & Session["User"])
see wht u get when u r count is 0 and when not
see the values carefully
Dec 01, 2010 10:07 AM|LINK
thanks
i m confuse...
at some pages of website session hav value. and some pages not while all page hav single master page..
again i click on that pages which didn,t hav value they get value and that pages which hav value they don,t hav..
i m not understanding where is error
Dec 01, 2010 10:24 AM|LINK
frm u r explanation i think u r session values is toggled on a button click
i mean if its balnk it gets the value
and if its has vakues it get blank
check u r condition where u assign the value to session vaiable
check for that 0 condition
i think u r problem is in the condition
or as u told u have master page , may be the session value is lost when u switch from master to child pages
or viceversa
vikas227
Member
623 Points
802 Posts
Re: session is not working on IIS server
Dec 01, 2010 08:29 AM|LINK
i think this is browser problem in internet explorer some time session hav value some time not..but in Mozilla session not retain value
svibuk
Member
717 Points
1737 Posts
Re: session is not working on IIS server
Dec 01, 2010 08:40 AM|LINK
put alert in
Session["User"] = user_id;
msgbox(user_id & Session["User"])
see wht u get when u r count is 0 and when not
see the values carefully
vikas227
Member
623 Points
802 Posts
Re: session is not working on IIS server
Dec 01, 2010 10:07 AM|LINK
thanks
i m confuse...
at some pages of website session hav value. and some pages not while all page hav single master page..
again i click on that pages which didn,t hav value they get value and that pages which hav value they don,t hav..
i m not understanding where is error
svibuk
Member
717 Points
1737 Posts
Re: session is not working on IIS server
Dec 01, 2010 10:24 AM|LINK
frm u r explanation i think u r session values is toggled on a button click
i mean if its balnk it gets the value
and if its has vakues it get blank
check u r condition where u assign the value to session vaiable
check for that 0 condition
i think u r problem is in the condition
or as u told u have master page , may be the session value is lost when u switch from master to child pages
or viceversa