I am currently doing a project on online examination.

I store the correct answer in a session object. When i move on to the next 
webpage the value of the session object changes. How can I solve this 
problem?

Code:

 Ans += sdr["corAns"].ToString();

            Session["Ans"] = Ans;

// value is 1412

2nd web page:

 string Rans = Session["Ans"].ToString(); // value is1214

Please help me. I'm new in programming.

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to