Hello,
I am using session in every page of my website. I am using payment gateway also. when page redirects on payment gateway website and after successfully transaction it redirects on my website page. but then it shows an 'object reference error' in 'session' line.
Please help. Its urgent.

Afzaal Ahmad ZeeshanPosted Sep 24, 2015, 7:50 AM
if(Session["key"] != null) {var data = Session["key"]; // You may need to cast it first
}
Raja TPosted Sep 24, 2015, 7:35 AM
Francis SusaimichaelPosted Sep 24, 2015, 7:32 AM