Hello Philote,
Thanks for your input. I agree with your comments about different browsers. Not only that, but it’s impossible to control the layout of the data in the receiving window, which makes it difficult to use. So far I’ve been getting the user to cut and paste the results matrix as it appears on their screen into their email window. Very crude I know, but even this simple exercise has shown that email delivers the results in varying layout formats.
The original string is in the format
sc0101nnsc0102 ...sc1205nnsc1206nn .. sc4008nn
where sc0101 etc. are the actual js variable names
sc stands for "score"
1205= Topic 12 Question 5.
There are 40 topics, each of 8 questions.
This string is stored as a js cookie on the client and I need to get it back to me, either by email or via the server, so that I can use the data for statistical purposes, and for reporting statistical comparisons back to the user. The user needs to initiate the process, for privacy reasons (which is why I used the js cookie approach in the first place). I break down the string in js on the client, so I can send it back to myself either as a matrix of the 40x8 score values, or as the continuous string. The string also needs to include the user’s email address. Using email, that’s automatic, but would need to be included if the string were sent back any other way.
I’m beginning to think I need to bite the bullet and use a CGI approach. Before I had to move off this problem, Siberian suggested (in a different TekTips stream) that I use CGI.pm and DBI.pm (thanks again Siberian), and I am just now investigating this approach. I’ve looked up CGI.pm description via Google and it seems quite complicated, but I guess I could get on top of it eventually (I’m and old Fortran / PL1 / Assembler programmer from the late 60’s. A veritable dinosaur.)
Sorry if I sound confused, but I am. Any input you can offer would be very welcome. Sounds like I’m screwing around here, but I’m just trying to figure out the effort versus likelihood of success ratio of approaches, given my feeble programming ability.
Thanks again!