ipnpro,
that would not have worked before because my subdirectory indicated in "session.save_path" did not exist. However, now that it does exist, it will surely work. Thanks.
jpadie, i don't know what you mean exactly, but I have session.use_cookies = 1 in my php.ini. I can pass cookies but have to use the import_request_variables in session2.php.
Im using Apache. The addition of the "session_write_close()" did not help. I also tried taking out the headers, then manually browsed "session2.php". The $_SESSION['webuser'] is still not passed. Do i need to pass the session id to session2.php?
What am I missing here?
<?php
//session1.php
session_start();
$_SESSION['webuser'] = 'Ronnie';
header("Location: session2.php");
?>
<?php
//session2.php
session_start();
echo "<br>Web user is: " . $_SESSION['webuser']; //does not output "Ronnie"
?>
How do I specify size (Decimal(18,9)) in the following code:
Dim cmd As ADODB.Command
Set cmd = New ADODB.Command
cmd.ActiveConnection = CurrentProject.Connection
cmd.CommandText = "strGetQuantity"
cmd.CommandType = adCmdStoredProc
cmd.parameters.append...
borislav, thank you so much for your reply. Do you realize that you answered is just 4 minutes? Haha! I'm very impressed!
This is the first time I've seen a join involving two fields. I didn't know it could be done. I never needed to use it until now.
Thanks again.
Is there a better way of getting the primary key ID of a record that I had just newly inserted via stored procedure? I currently use:
CREATE PROCEDURE strInsertRecord
@value1 varchar(50),
@value2 varchar(50),
@NewRecordID int OUTPUT
AS
INSERT INTO MyTable (Field1, Field2) VALUES (@value1...
Take the txtID out of the single quotes. Your where clause would otherwise be evaluated as "ID = 'txtID'". What you want is "ID = <value of txtID>"
tb1.Open "Select ID,LastName1,FirstName1,Phone1 from tblOrganizerInfo where ID = " & txtID, cn
Is there a way in starting an Access 2000 adp without a default username being shown in the log-on window? Where is this username information stored? It doesn't seem to be included in the BASE CONNECTION STRING.
You need a field that could be used to arrange them in some order, otherwise, you'll get random results. A date field or an EntryID field perhaps (or both).
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.