Click here to Skip to main content
15,903,030 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP.NET EXPORT TO EXCEL Pin
Karthik Harve19-Mar-13 21:14
professionalKarthik Harve19-Mar-13 21:14 
GeneralRe: ASP.NET EXPORT TO EXCEL Pin
Mkanchha20-Mar-13 23:37
Mkanchha20-Mar-13 23:37 
GeneralRe: ASP.NET EXPORT TO EXCEL Pin
Bernhard Hiller20-Mar-13 23:50
Bernhard Hiller20-Mar-13 23:50 
GeneralRe: ASP.NET EXPORT TO EXCEL Pin
Mkanchha21-Mar-13 0:59
Mkanchha21-Mar-13 0:59 
QuestionMaintaining Variables Pin
clugsy6419-Mar-13 5:53
clugsy6419-Mar-13 5:53 
AnswerRe: Maintaining Variables Pin
jkirkerx19-Mar-13 8:39
professionaljkirkerx19-Mar-13 8:39 
GeneralRe: Maintaining Variables Pin
clugsy6419-Mar-13 9:11
clugsy6419-Mar-13 9:11 
GeneralRe: Maintaining Variables Pin
jkirkerx19-Mar-13 10:14
professionaljkirkerx19-Mar-13 10:14 
Well you don't let them go back to lesson 1.

You place a catch function in the page.load event of every page, that validates if that lesson was completed, and if so, it redirects them back to the lesson menu or a sorry page, then another redirect to the lesson menu.

[EDIT]

You have to think 2 ways, one using your back and forward buttons, and one using the browsers back and forward buttons.

So you add some extra code for every lesson page, that first validates access to the page using the browser buttons.

One other thing to consider is condensing the entire lesson into a single page, using Javascript to control lesson panels or containers, so containers just open and close and they don't have to leave that page.

[2nd Edit]

Saving Page Number, Lesson Number data

You can save that in the session, but if they leave and come back, then the session number has to match, if they clear there browser cache, then the session is gone. The cache last as long as the browser will store it, or reaches it's storage limit, or until it's erased.

In my opinion, each page has to be independent in operation, in other words, the page has to be able to remember or fetch the data needed to pick up where it left off, without dependence of the previous page.

So overall I'm saying that it can't be fixed with something easy as remembering data in the session or querystring, it's at the program design level, in which each time an action occurs, it should update the table, and you check the table to figure out what level and lesson they are on.

modified 19-Mar-13 16:53pm.

QuestionMVC 4 and WebForm Application: # symbol is appearing in URL Pin
David Mujica19-Mar-13 5:18
David Mujica19-Mar-13 5:18 
AnswerFound Solution Pin
David Mujica19-Mar-13 10:58
David Mujica19-Mar-13 10:58 
QuestionBAT FILE NOT GIVING PROPER RETURN VALUE in TXT file Pin
Nishant kumar electronics17-Mar-13 1:46
Nishant kumar electronics17-Mar-13 1:46 
AnswerRe: BAT FILE NOT GIVING PROPER RETURN VALUE in TXT file Pin
Richard MacCutchan17-Mar-13 2:40
mveRichard MacCutchan17-Mar-13 2:40 
GeneralRe: BAT FILE NOT GIVING PROPER RETURN VALUE in TXT file Pin
Nishant kumar electronics17-Mar-13 8:35
Nishant kumar electronics17-Mar-13 8:35 
GeneralRe: BAT FILE NOT GIVING PROPER RETURN VALUE in TXT file Pin
Richard MacCutchan17-Mar-13 22:01
mveRichard MacCutchan17-Mar-13 22:01 
QuestionComplete Editable Datagrid Pin
Girish_Sharma16-Mar-13 23:02
Girish_Sharma16-Mar-13 23:02 
AnswerRe: Complete Editable Datagrid Pin
Chris Hambleton18-Mar-13 4:30
Chris Hambleton18-Mar-13 4:30 
Questionasp.net c# Pin
vishal415-Mar-13 20:11
vishal415-Mar-13 20:11 
AnswerRe: asp.net c# Pin
Sandeep Mewara15-Mar-13 20:23
mveSandeep Mewara15-Mar-13 20:23 
AnswerRe: asp.net c# Pin
Thomas Daniels17-Mar-13 4:54
mentorThomas Daniels17-Mar-13 4:54 
QuestionPropay Payment Integration Pin
amolnarkhede14-Mar-13 21:15
amolnarkhede14-Mar-13 21:15 
AnswerRe: Propay Payment Integration Pin
Richard MacCutchan14-Mar-13 23:11
mveRichard MacCutchan14-Mar-13 23:11 
GeneralRe: Propay Payment Integration Pin
amolnarkhede15-Mar-13 6:36
amolnarkhede15-Mar-13 6:36 
GeneralRe: Propay Payment Integration Pin
Richard MacCutchan15-Mar-13 6:58
mveRichard MacCutchan15-Mar-13 6:58 
AnswerRe: Propay Payment Integration Pin
jkirkerx18-Mar-13 7:36
professionaljkirkerx18-Mar-13 7:36 
QuestionWSAT tool with IIS 7 Pin
vanikanc14-Mar-13 3:06
vanikanc14-Mar-13 3:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.