On Aug 3, 2013 3:03 PM, "dealTek" wrote:
>
> Hi all,
>
>
> I am having trouble with session vars.
>
> I'm trying to implement the credit card direct pay method outlined here...
>
> http://developer.authorize.net/api/dpm/
>
> - Basically, page 1 is my form that goes outside my site to the cc
gatewa
Hi all,
I am having trouble with session vars.
I'm trying to implement the credit card direct pay method outlined here...
http://developer.authorize.net/api/dpm/
- Basically, page 1 is my form that goes outside my site to the cc gateway
company then comes back with a result... (PG2)
Problem:
> -Original Message-
> From: Cheryl Sullivan [mailto:csull...@shh.org]
> Sent: Friday, September 17, 2010 7:51 AM
> To: Peter Lind; tommy...@gmail.com
> Cc: a...@ashleysheridan.co.uk; php-general@lists.php.net
> Subject: RE: [PHP] Session Vars loaded from MSSQL Query dr
P as well -
Thanks again -
-Original Message-
From: Andrew Ballard [mailto:aball...@gmail.com]
Sent: Friday, September 17, 2010 11:15 AM
To: Cheryl Sullivan
Cc: Peter Lind; tommy...@gmail.com; a...@ashleysheridan.co.uk;
php-general@lists.php.net
Subject: Re: [PHP] Session Vars loaded f
On Fri, Sep 17, 2010 at 10:50 AM, Cheryl Sullivan wrote:
> Hi there - just to clear things up, I didn't mean your answer was irrelevant.
> It was an excellent point - I just took the function call encompassing the
> query string out of the code I posted to avoid people having to read too
> muc
quot;;
print "hidden_SSN = ".$_POST['hdnSSN']."";
print "hidden_CostCenter = ".$_POST['hdnCostCenter']."";
print "session_empFName = ".$_SESSION['empFName']."";
print "session_userLastName = ".$_SESSIO
On Fri, Sep 17, 2010 at 8:13 AM, Cheryl Sullivan wrote:
> Hi Andrew - I didn't mean to ignore your reply...
>
> Here is your earlier post -
>
> " The fact that you can echo the $_SESSION information on the same page and
> they contain the correct values suggest to me that the issue of MySQL/MSSQL
s to me? Thanks -
-Original Message-
From: Andrew Ballard [mailto:aball...@gmail.com]
Sent: Thursday, September 16, 2010 2:21 PM
To: Cheryl Sullivan
Cc: Tommy Pham; php-general@lists.php.net
Subject: Re: [PHP] Session Vars loaded from MSSQL Query drop, those loaded from
MYSQL Query st
> -Original Message-
> From: Cheryl Sullivan [mailto:csull...@shh.org]
> Sent: Thursday, September 16, 2010 11:12 AM
> To: Tommy Pham; php-general@lists.php.net
> Subject: RE: [PHP] Session Vars loaded from MSSQL Query drop, those
> loaded from MYSQL Query stick
>
>
On 16 September 2010 20:03, Cheryl Sullivan wrote:
> We are actually running the query through a function that removes single
> ticks, etc to avoid this, but I didn't think that was relevant to the
> question so I didn't include it. Thanks, though!
You're the one with the problem you don't under
On Thu, Sep 16, 2010 at 10:26 AM, Cheryl Sullivan wrote:
[snip]
> When I echo all five $_SESSION vars from here, they are all populated.
> Then I can either redirect or form post to the next page. In either
> case, the $_SESSION vars populated from SQL Server ( the SSN and Cost
> Center vars) are
Tommy Pham [mailto:tommy...@gmail.com]
Sent: Thursday, September 16, 2010 11:39 AM
To: php-general@lists.php.net
Subject: RE: [PHP] Session Vars loaded from MSSQL Query drop, those
loaded from MYSQL Query stick
> -Original Message-
> From: Cheryl Sullivan [mailto:csull...@shh.org]
> Sent:
September 16, 2010 12:03 PM
To: Cheryl Sullivan
Cc: a...@ashleysheridan.co.uk; php-general@lists.php.net
Subject: Re: [PHP] Session Vars loaded from MSSQL Query drop, those
loaded from MYSQL Query stick
On 16 September 2010 16:26, Cheryl Sullivan wrote:
> Absolutely -
>
>
>
> Th
On 16 September 2010 16:26, Cheryl Sullivan wrote:
> Absolutely -
>
>
>
> This is from the first page
>
>
>
>
> $_SESSION['UserLastName'] = strtolower(trim($_POST['txtLastName']));
>
> $_SESSION['BadgeID'] = trim($_POST['txtBadgeID']);
>
>
>
> //access MS SQL Server database
>
> $q1 = "select * f
> -Original Message-
> From: Cheryl Sullivan [mailto:csull...@shh.org]
> Sent: Thursday, September 16, 2010 8:33 AM
> To: Tommy Pham; php-general@lists.php.net
> Subject: RE: [PHP] Session Vars loaded from MSSQL Query drop, those
> loaded from MYSQL Query stick
>
tommy...@gmail.com]
Sent: Thursday, September 16, 2010 11:00 AM
To: php-general@lists.php.net
Subject: RE: [PHP] Session Vars loaded from MSSQL Query drop, those
loaded from MYSQL Query stick
> -Original Message-
> From: Cheryl Sullivan [mailto:csull...@shh.org]
> Sent: Thursday, Sept
On Thu, Sep 16, 2010 at 10:26 AM, Cheryl Sullivan wrote:
> Absolutely -
>
> This is from the first page
>
>
> $_SESSION['UserLastName'] = strtolower(trim($_POST['txtLastName']));
>
> $_SESSION['BadgeID'] = trim($_POST['txtBadgeID']);
>
> //access MS SQL Server database
>
> $q1 = "select * from em
> -Original Message-
> From: Cheryl Sullivan [mailto:csull...@shh.org]
> Sent: Thursday, September 16, 2010 7:12 AM
> To: php-general@lists.php.net
> Subject: [PHP] Session Vars loaded from MSSQL Query drop, those loaded
> from MYSQL Query stick
>
> Hi there – I’
__
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: Thursday, September 16, 2010 10:14 AM
To: Cheryl Sullivan
Cc: php-general@lists.php.net
Subject: Re: [PHP] Session Vars loaded from MSSQL Query drop, those
loaded from MYSQL Query stick
On Thu, 2010-09-16 at 10:11 -0400, Cheryl Sulliv
On Thu, 2010-09-16 at 10:11 -0400, Cheryl Sullivan wrote:
> Hi there – I’m new to this news group. Any help with this is appreciated –
>
> When I populate session vars from a MYSQL query, they are still there when I
> change pages. If I populate them from an MSSQL query, they drop.
>
> It d
Hi there – I’m new to this news group. Any help with this is appreciated –
When I populate session vars from a MYSQL query, they are still there when I
change pages. If I populate them from an MSSQL query, they drop.
It doesn't matter if I get to the next page using a header redirect or a fo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have a small application made in flash, that uses a set of PHP scripts
to pull data from a database. I've added sessions to this scripts so
they would only return the data if a proper session has been
initialized, the flash movie is hosted in a
Howdy all,
I have a login app that runs at:
DOCUMENT_ROOT/admin/index.php
and an AJAX action at:
DOCUMENT_ROOT/somefile.php
The login app and all the scripts based under the admin/ folder have no
problems, but the AJAX scripts don't know jack about any stinkin
$_SESSION var.
I can only pre
Sessions only have access to Global Vars.
http://us3.php.net/manual/en/ref.session.php
I understand it's because the local vars inside a function are free'd when
you exit the function, and the actual post to the session record occurs
during script wrappup operations, long after exiting the fun
Hipeople.
I've a system where i use session and all is working fine. But has something
that don't work and i can't to find the cause.
When a use the include function, the file included don't see the session
vars.
Anyone knows why it's happen?
Thanks.
--
---
Hipeople.
I've a system where i use session and all is working fine. But has something
that don't work and i can't to find the cause.
When a use the include function, the file included don't see the session
vars.
Anyone knows why it's happen?
Thanks.
--
---
Hi I have the following problem:
I developed a system that it runs perfec in my PC and in hosting server with
Linux. But the session vars don't work in a hosting server with Windows...
The technical contact of the Server with Windows says me that the problem is
a space before the function sessio
On Fri, 18 Feb 2005 08:56:59 +0100, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> The code misses one important thing - row locking. For concurent
> requests, sess_open must block until the first request does
> sess_close(). So you need to use InnoDB's row locking or
> application-level GET_LOCK() a
Greg Donald wrote:
On Wed, 16 Feb 2005 09:36:26 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]>
wrote:
It's literally an hour's work to alter the code to use MySQL to store the
sessions instead of the hard drive.
Not really, maybe 5 minutes.. here's the code:
The code misses one important thing -
[EMAIL PROTECTED] wrote:
> On 16 Feb 2005 Richard Lynch wrote:
>
>> Use the exact same session stuff you have now and just dump the
>> serialized data into SQL using the 5 functions for session handling.
>
> Oh, OK, that's what you meant about the 5 functions. I am not sure of
> the advantage to t
On 16 Feb 2005 Richard Lynch wrote:
> Use the exact same session stuff you have now and just dump the
> serialized data into SQL using the 5 functions for session handling.
Oh, OK, that's what you meant about the 5 functions. I am not sure of
the advantage to that, actually something I've alwa
On Wed, 16 Feb 2005 09:36:26 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]>
wrote:
> It's literally an hour's work to alter the code to use MySQL to store the
> sessions instead of the hard drive.
Not really, maybe 5 minutes.. here's the code:
Make the table in your database:
CREATE TABLE `sess
[EMAIL PROTECTED] wrote:
> On 15 Feb 2005 Richard Lynch wrote:
>
>> Throw an ab (Apache Benchmark) test at it and find out.
>>
>> Don't just guess or sit there wondering.
>>
>> You could run test in about the time it took to compose this email --
>
> Perhaps if you are already familiar with ab, whi
On 15 Feb 2005 Greg Donald wrote:
> > If you have to choose between a meaningful variable name and performance
> > considerations, buy more hardware! :-)
> >
> > The cost you'll save in the long run for code maintenance will make it
> > worth it.
>
> Comments in the code make using short session
On 15 Feb 2005 Richard Lynch wrote:
> Throw an ab (Apache Benchmark) test at it and find out.
>
> Don't just guess or sit there wondering.
>
> You could run test in about the time it took to compose this email --
Perhaps if you are already familiar with ab, which I'm not ... and if
the server
On Tue, 15 Feb 2005 13:01:45 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]>
wrote:
> If you have to choose between a meaningful variable name and performance
> considerations, buy more hardware! :-)
>
> The cost you'll save in the long run for code maintenance will make it
> worth it.
Comments i
Greg Donald wrote:
> On Mon, 14 Feb 2005 16:03:10 -0500, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
>> I have a multi-page form which I build up and store in session
>> variables. The data saved includes all an internal list of items on
>> the form (derived from a database table), all the form
On Mon, 14 Feb 2005 16:03:10 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I have a multi-page form which I build up and store in session
> variables. The data saved includes all an internal list of items on
> the form (derived from a database table), all the form field specs
> (derived fr
I have a multi-page form which I build up and store in session
variables. The data saved includes all an internal list of items on
the form (derived from a database table), all the form field specs
(derived from the internal item list), the data for the fields (from
another table), default dat
[EMAIL PROTECTED] wrote:
I have a multi-page form which I build up and store in session
variables. The data saved includes all an internal list of items on
the form (derived from a database table), all the form field specs
(derived from the internal item list), the data for the fields (from
an
I have a multi-page form which I build up and store in session
variables. The data saved includes all an internal list of items on
the form (derived from a database table), all the form field specs
(derived from the internal item list), the data for the fields (from
another table), default dat
Jas wrote:
[Script registering vars - sessions.php]
/* Format Date & Time */
$hour = (date("H:i:s"));
$day = (date("d"));
$date = (date("F $day, Y"));
Don't you mean
$data = date('F d, Y');
I don't see why you're calculating $day and then putting it in date().
/* Register vars */
$_SESSION['date
Not sure why this is happening but I think it has something to do with
an include statement...
[Server environment]
Apache/2.0.47 (Unix) DAV/2 PHP/4.3.3
register_globals On On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
Session Support enabled
[Script registering
Marek, et al --
...and then Marek Kilimajer said...
%
% David T-G wrote:
...
% >or so. But what does that buy me? How will then setting my password at
% >one level (presentation) also set it at another (gallery)?
%
% You will have the same session variables accessible in your script.
Oho. Th
David T-G wrote:
I'm a bit confused... I haven't tried this yet, so maybe it will all
come clear when I do, but I'm still confused! So where I currently have
session_name($wfname) ;
session_start ;
...
I'd instead have
session_name($wfname) ;
$_COOKIE[$wfname] = $_COOKIE['locscout'] ;
Marek, et al --
...and then Marek Kilimajer said...
%
% David T-G wrote:
%
% >I have a picture gallery application which uses sessions. As part of the
% >config we set the session name; the default is 'locscout'.
% >
% >I also have a portfolio/presentation application layered on top of this
% >
David T-G wrote:
Hi, all --
I have a picture gallery application which uses sessions. As part of the
config we set the session name; the default is 'locscout'.
I also have a portfolio/presentation application layered on top of this
(and almost ready for release! :-) :-) with its own session name
Hi, all --
I have a picture gallery application which uses sessions. As part of the
config we set the session name; the default is 'locscout'.
I also have a portfolio/presentation application layered on top of this
(and almost ready for release! :-) :-) with its own session name.
When I start o
> setting up some pages to allow users to log in, and store their userID in
a
> session var.
> for development purposes, i've installed AMP on my windows box.
>
> -everything parses fine
> -register globals is on.
>
> problem: session vars do not seem to be carrying over pages, even when i
set
> th
setting up some pages to allow users to log in, and store their userID in a
session var.
for development purposes, i've installed AMP on my windows box.
-everything parses fine
-register globals is on.
problem: session vars do not seem to be carrying over pages, even when i set
the session_id to
On Saturday 11 January 2003 19:47, Jason k Larson wrote:
> FYI:
> Don't like auto register globals ... try the following at the beginning
> of your script.
>
> ini_set ('register_globals','Off');
>
> Works for me places I'm hosted at.
register_globals cannot be set at runtime (to be precise, it ca
FYI:
Don't like auto register globals ... try the following at the beginning
of your script.
ini_set ('register_globals','Off');
Works for me places I'm hosted at.
HTH,
Jason k Larson
Noel Wade wrote:
Hi all,
So I have a session variable; but with register_globals active on the server
I'm ho
Hi all,
So I have a session variable; but with register_globals active on the server
I'm hosted at (no way to turn it off), just checkng for "$varX" in my script
could retrieve the session variable, a GET variable with the same name, or a
POST variable with the same name - and as a security concer
Hi,
I have a problem when registering Session variables.
Let me describe.
I have 2 files. In the first one initialization is done and some session
registering.
The second one is my main application. If I call a method from the first
file in my main file , variables are not registered. I use sess
Hi,
I have a problem when registering Session variables.
Let me describe.
I have 2 files. In the first one initialization is done and some session
registering.
The second one is my main application. If I call a method from the first
file in my main file , variables are not registered. I use sess
I'm registering if people are logged in. The login page is situated in
>> the
mainFrame.
Now in my leftFrame I want to put the status (i.e. "you are logged in as
.")
When people are succesfully logged in I register their name as
session_register('session_log
hmmm, i'm not passing anything around, at least not on purpose.
Wilbert
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Friday, June 28, 2002 11:14 AM
Subject: Re: [PHP] session vars and fram
Are you passing the session ID around in the URL, or in cookies?
Justin French
on 28/06/02 6:28 PM, Wilbert Enserink ([EMAIL PROTECTED]) wrote:
> hi all,
>
>
> I'm registering if people are logged in. The login page is situated in the
> mainFrame.
> Now in my leftFrame I want to put the stat
hi all,
I'm registering if people are logged in. The login page is situated in the mainFrame.
Now in my leftFrame I want to put the status (i.e. "you are logged in as .")
When people are succesfully logged in I register their name as
session_register('session_loginname');
I then refresh th
O.K., this seems to work:
---
$thevals=array(alpha,beta,gamma,delta,epsilon);
while (list($key, $val) = each($thevals)) {
if ($HTTP_POST_VARS["$val"] && (!session_is_registered("$val"))) {
session_register("$val");
}
}
---
bill wrote:
> How can I correctl
ailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 11:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] session vars with recursive form
How can I correctly register session vars on a recursive form?
If I call a page repeatedly using:
The earlier variables keep getting lost.
How can I registe
How can I correctly register session vars on a recursive form?
If I call a page repeatedly using:
The earlier variables keep getting lost.
How can I register the session variables correctly? Each subsequent
page should set its own variable while remembering all those previously
set.
Right n
62 matches
Mail list logo