Occasional session problem
Hello
I have done a logger: thelogger.php.
This usually works OK BUT sometimes a user lands on the site, sets the session ID as 4re3ccc...etc and then goes to another file and a new session ID xc3zkf...etc gets set.
The user agent appears to be a standard browser...
Sorting problem... session & time
Hello
Lets say you have data like this:
Time Sessionid
20.55 a1
20.44 a1
20.39 x3
20.33 x3
20.29 a1
20.27 a1
and you want to sort it so it looks like this i.e. grouped according to Sessionid and then Time:
a1 = 20.55 20.44 20.29 20.27
x3 =...
Control one swf file from another
Hello
You have two swf files:
file1.swf has a button
when you click on the button you want a button in file2.swf to be made visible.
How do you get file1.swf to communicate with file2.swf?
Thank you.
Color from database not working...
Color stored in mySQL as 0xFF0000
0xFF0000 hauled into Flash via PHP and LoadVars
trace(myData.maintxtcolor); shows 0xFF0000
Trying to change text color:
myFormat_fmt= new TextFormat();
myFormat_fmt.color = myData.maintxtcolor;
etcetera...
REFUSES TO...
Sorting top three from any number
I am doing a quiz.
A player can have as many goes as they like e.g. Fred has 6 goes, Jessica has 5 goes, Ann has 4 goes and they score:
Fred
3
6
3
7
2
4
Jessica
5
4
6
7
3
Ann
3
4
6
5
How do I sort the data alpahbetically and by number so that ONLY the top...
I have a PHP logger lovingly hand-crafted by myself (roll-eyes).
The logger recorded the entry:
2006-02-23 10:02:46 /index.php http://www.xyz.com/
showing date/time entry page and referer.
I goes to http://www.xyz.com/ and expects to find a link to my page on that site but there isn't one...
Using XP Pro.
To cut a long story short:
the mouse - an ordinary one with a cable and a little plug with a round bit at the end NOT a USB - started playing up... on the desktop it automatically grabbed an area as if to highlight it when it was moved and although it continued to move across the...
Localhost session_id problem
Hello
I am running PHP off localhost on my home computer and putting a shopping cart together.
The code below sets the session_id OK but when I change from page1.php to page2.php, the session_id number is changed when it should stay the same.
Is there a setting...
loadvars problem
Hello
I haven't had this problem before. Am using Flash 8 AS2.
loginbutton.onPress = function(){
var myLoadVars:LoadVars = new LoadVars();
myLoadVars.thecartlogin = theloginvar;
trace(myLoadVars.thecartlogin);
etcetera
theloginvar is the var...
Movie clip onRollOver
The code below displays a number of horizontal bars with a green box in each.
When the mouse rolls over a bar, the myrollover function is activated.
How do i get it to activate that function ONLY when the mouse rolls over a green box...
OK, this is probably a really basic error...
I am trying to install twiki.
When I try to run testenv:
http://www.mydomain.co.uk/twiki/bin/testenv
all i see is the source code (the beginning of which is shown below).
What am I doing wrong?
GENERAL SERVER INFORMATION
Operating system...
I am looking for a decent beginner's tutorial about Oracle.
Just basic stuff... how to put data in and how to get it out.
Could you point me in the right direction, please?
Thanks.
DBNull and web services
In order to handle database null values in VB.NET you use DBNull.
Will DBNull also work with data returned from web services?
I assume that the answer is yes.
Cross-thread operation not valid
Hello
i am trying to put a counter variable created in a thread into a label and am getting "Cross-thread operation not valid".
Is there an easy way around this?
Thank you.
Naming .xls chart axes
I've worked out how to create a comma-separated .xls file in vb.net readable by Excel.
If that file is displayed as a graph, it will have two axes.
When using the Excel chart wizard, you can give each axis a name.
Is it possible to put a name for each into the...
Adding together rows
Hello
I am looking for an elegant (not brute-force) solution to this problem.
There are a number of rows with values let us say
Row 1 4
Row 2 5
Row 3 6
Row 4 7
What I need to be able to do (presumably with a loop) is for each row to add together the values of all...
Hello
I have added a new windows form to the project and put in the lines (see below) BUT this line here:
mywriterdefaultsettings.WriteLine("TWO")
generates an error "Declaration expected"
Any idea as to the cure?
Thank you.
Public Class defaultsettings
Dim thestringstart2 As String...
Convert milliseconds to minutes etc...
Hello
I have got code to display milliseconds.
What is the best way to display the milliseconds in minutes/seconds?
Thank you.
Dim swatch As New Stopwatch()
swatch.Start()
do
statuslabel.Text = swatch.ElapsedMilliseconds.ToString
etcetera
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.