Hi
I've done my website for conduncting online examination it's working fine in my lan network but on webserver when I'm hosting it at the time of examination if two student are login and giving the examination at that time if student 1 has given answer of some question then eg student1 solved que no. 3 and at same time if student 2 is solving the same question set he will be displayed que no 4 not from que no 1. Why this is happening while I'm maintaining sessionstate inproc only. It mean it is sharing the data in different user why it is happening?
Refer
Loading

Suthish NairPosted Jul 27, 2011, 2:22 AM
Suthish NairPosted Jul 27, 2011, 4:15 AM
Krishna GaradPosted Jul 27, 2011, 2:31 AM
Krishna GaradPosted Jul 25, 2011, 8:25 AM
I'm getting Question from Database in Dataset and for navigating to next question i've declared static variable which is 0 at first time now second time when user click on next button I'm increamenting that static pointer variable by 1 and getting the values of second row. It's working fine for single user but for more than one user that same static variable is shared is going to share. eg. if @ x user static pointer contain 1 then 2 same time for y user it be a 2. Why this is going to happen.
Suthish NairPosted Jul 25, 2011, 7:59 AM
Krishna GaradPosted Jul 25, 2011, 4:56 AM
Thnak's for your reply. In my app actully two student are login from different two locations when they are conducting the examination at that time if first student is on question no 1 then second student will get question 2 not from startup of question. It means the same data is shared with two users. Just check the link with student login try out to solve the examination with two diiferent users. Credentials are as
Student 1
username---qqq
password---qqq
exam Co-Pwd---krishnasarala
Student 2
username---- www
password----www
exam co-pwd---krishnasarala
Suthish NairPosted Jul 25, 2011, 3:44 AM
Re-write your question in proper way, its difficult to understand what you asking about.
This might be a bug in your program only.. What you storing in Sessions?
How you testing the application.
If you using IE (two different tabs) for both student logins, then IE itself will overwrite the sessions everytime.
How to access the link you posted?