CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Session issue

  1. #1
    Join Date
    Feb 2012
    Posts
    4

    Session issue

    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.

  2. #2
    Join Date
    Feb 2012
    Posts
    4

    Re: Session issue

    someone help please

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured