Closed Bug 401372 Opened 17 years ago Closed 17 years ago

After recent update, a user cannot access (select), modify or delete an existing cookie record, nor create a new one.

Categories

(Firefox :: Security, defect)

x86
All
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 408896

People

(Reporter: salttalk, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.13pre) Gecko/20071022 Ubuntu/dapper-security Firefox/1.5.0.13pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.13pre) Gecko/20071022 Ubuntu/dapper-security Firefox/1.5.0.13pre

After a recent Firefox update of Firefox, a user cannot select the name of his or her cookie record when starting a new session (regarding the lessons on an
educational web application). A user's personal cookie record cannot be selected, deleted or modified. A user cannot make a new cookie. The whole system is basically barred from a user's access unless the cookie-handling routine is bypassed altogether.

Normally, a first-time user accessing the educational site enters a name (any handle) and optional data. Then a client-side JavaScript routine stores this data in a cookie record. Each user's individual cookie record is then used to track the user's progress through the lessons.

When a user starts a new session, the cookie uses the selected cookie record to return the user to the last lesson which that user was working on during the previous session. It also stores data to provide the user with a report on personal progress, using data accumulated as the user progresses through the lessons. In addition to this, the user has the option of editing or deleting the data they entered in a cookie record (during each start-up of the system).

It should be noted that the system displays the data entered by a user each time the system is entered. And this cookie record's data still does display correctly. Also, there is not JavaScript Console error reported.

Is there any solution to this problem, of allowing the user to control their
own cookie record, and allowing them to access the lessons using their cookie record? The cookie is helpful to the user. This JavaScript-controlled system has worked for a few years, until this recent update.

Reproducible: Always

Steps to Reproduce:
1. User select URL of site in order to start lessons and is presented with a selection screen, where one of the options displays the name of their personal cookie record.
2. User selects his or her cookie record and presses a button to continue.
3. System deselects the selected option (a radio button) and the user remains on the same screen. Editing or deleting his or her record does not work either. Cannot create a new cookie record either.
Actual Results:  
See "Steps to Reproduce"

Expected Results:  
The user should be able to select the cookie record he or she made, then see the system return him or her to the lesson which he or she was working on the previous day. Also, the user should be able to edit, delete or create a new cookie record.

OS: Ubuntu Linux (gnome 2.14.3, Dapper Drake 6.06 LTS)

I used the synaptic package manager to update Firefox today, but the problem remains. On Oct. 23, after updating Firefox, the problem began. I reported it on an existing thread on Oct. 23, and Daniel Veditz replied on Oct. 24, suggesting that I start a new bug. (Thanks Daniel. I was out of town for a few days and could not do so until today.)
Are there any JavaScript commands, regarding the modification of data and cookie records within a cookie, which could work around this problem?

Basically a user needs to create their own cookie record within the cookie, by providing data on a form. Then, during subsequent visits to the site, the user must be able to select that cookie record, and the site must then use the information in that cookie record. A user should be able to modify one's own cookie record as well.

For example, see
     www3.telus.net/salttalk/start.htm

After testing the web site on a Microsoft Windows XP system, I find that I cannot make a cookie or do anything with a cookie on the website.

Even though the cookies worked on Firefox before, they do not work now, at all. Only if a previous cookie existed, will Firefox bring up and display the data in that cookie. But it will not allow the system to use that cookie, to take the user to the last lesson worked on in the system, which is recorded in the selected cookie.

This is strange, since other systems seem to use cookies. And, as far as I can see, there is absolutely nothing which could be wrong with the JavaScript code, since it worked well before the Firefox update.
OS: Linux → All
The JavaScript functions used to work just fine. I am using frames. So, after the user selects the cookie record, the following function is called:



function validateForm(chosenOne) {

	var optionSelected = false;

	var optionNumber = -1;

	for (i = 0; i < chosenOne.UserOption.length; i++) {

		if (chosenOne.UserOption[i].checked) {

			optionNumber = i;

			optionSelected = true;

		}

	}

	if (!optionSelected) {

		alert("Please select one of the above options.");

		return false;

	}

	else {

		parent.navbar.UserNumber = optionNumber;

		return true;

	}

}

This function used to run, then the functions in the other html file would begin to run. Now nothing happens.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.