New to $_SESSION
am 10.09.2007 21:54:07 von jodleren
Hello
First of: is there a place on www.php.net where this is described?
The search does not find it (I'd like to read more about $_POST etc
too...)
Well, I just tested something like:
echo "b".$_SESSION["test"];
$_SESSION["test"]="a";
and bith with a button (form, post) and a link (to the page itself), I
do not get the A at any time?
Is there a way to have session data in both cases?
I'd like to have when links are clicked and when popups are in use
BR
Sonnich
Re: New to $_SESSION
am 10.09.2007 22:04:00 von luiheidsgoeroe
On Mon, 10 Sep 2007 21:54:07 +0200, jodleren wrote:
> Hello
>
> First of: is there a place on www.php.net where this is described?
> The search does not find it
http://www.php.net/manual/en/ref.session.php
> (I'd like to read more about $_POST etc
> too...)
http://www.php.net/manual/en/reserved.variables.php#reserved .variables.p=
ost
> Well, I just tested something like:
>
> echo "b".$_SESSION["test"];
> $_SESSION["test"]=3D"a";
>
> and bith with a button (form, post) and a link (to the page itself), I=
> do not get the A at any time?
session_start() is required.
-- =
Rik Wasmus
Re: New to $_SESSION
am 11.09.2007 02:04:27 von Jerry Stuckle
jodleren wrote:
> Hello
>
> First of: is there a place on www.php.net where this is described?
> The search does not find it (I'd like to read more about $_POST etc
> too...)
>
Yes. Search on sessions.
> Well, I just tested something like:
>
> echo "b".$_SESSION["test"];
> $_SESSION["test"]="a";
>
> and bith with a button (form, post) and a link (to the page itself), I
> do not get the A at any time?
> Is there a way to have session data in both cases?
>
Yes, see session_start();
> I'd like to have when links are clicked and when popups are in use
>
> BR
> Sonnich
>
Possible. But don't use popups. Many users (including me) have them
disabled - on purpose.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: New to $_SESSION
am 11.09.2007 10:39:45 von Sonnich Jensen
On Sep 11, 3:04 am, Jerry Stuckle wrote:
> jodleren wrote:
Thanks
> > I'd like to have when links are clicked and when popups are in use
> Possible. But don't use popups. Many users (including me) have them
> disabled - on purpose.
I need them for confirmation windows... I could have them all in one
window of course, but in my design it it better that way.
Re: New to $_SESSION
am 11.09.2007 11:52:01 von Erwin Moller
Sonnich Jensen wrote:
> On Sep 11, 3:04 am, Jerry Stuckle wrote:
>> jodleren wrote:
>
> Thanks
>
>>> I'd like to have when links are clicked and when popups are in use
>
>> Possible. But don't use popups. Many users (including me) have them
>> disabled - on purpose.
>
> I need them for confirmation windows... I could have them all in one
> window of course, but in my design it it better that way.
>
Yes, but as Jerry said: What will happen if somebody has a popup blocker?
Will your app fail?
Or are you targetting some intranet where you just know no popup
blockers are active?
When targetting the net at large, you better not rely on popups appearing.
Regards,
Erwin Moller
Re: New to $_SESSION
am 11.09.2007 13:11:05 von Jerry Stuckle
Sonnich Jensen wrote:
> On Sep 11, 3:04 am, Jerry Stuckle wrote:
>> jodleren wrote:
>
> Thanks
>
>>> I'd like to have when links are clicked and when popups are in use
>
>> Possible. But don't use popups. Many users (including me) have them
>> disabled - on purpose.
>
> I need them for confirmation windows... I could have them all in one
> window of course, but in my design it it better that way.
>
It won't work on my system. And the last I heard, somewhere around
20-35% of users (depends on who's figures you believe) have popup
blockers installed.
But if you want to lose that many customers, that's up to you.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: New to $_SESSION
am 11.09.2007 13:35:45 von Bucky Kaufman
Jerry Stuckle wrote:
> It won't work on my system. And the last I heard, somewhere around
> 20-35% of users (depends on who's figures you believe) have popup
> blockers installed.
That few, eh?
I don't remember the last time I saw someone WITHOUT a pop-up blocker.
Re: New to $_SESSION
am 11.09.2007 15:29:31 von Sonnich Jensen
On Sep 11, 2:35 pm, Sanders Kaufman wrote:
> Jerry Stuckle wrote:
> > It won't work on my system. And the last I heard, somewhere around
> > 20-35% of users (depends on who's figures you believe) have popup
> > blockers installed.
>
> That few, eh?
> I don't remember the last time I saw someone WITHOUT a pop-up blocker.
I'll think about it. I agree that I can make the design otherwise.
I only know one person using a pop-up blocker - and that is my
brother :-)
The best is that I discuss that with the customer. There are app 10
specific users for the system as of now.
BR
Sonnich Jensen
Re: New to $_SESSION
am 11.09.2007 15:54:51 von Jerry Stuckle
Sanders Kaufman wrote:
> Jerry Stuckle wrote:
>
>> It won't work on my system. And the last I heard, somewhere around
>> 20-35% of users (depends on who's figures you believe) have popup
>> blockers installed.
>
> That few, eh?
> I don't remember the last time I saw someone WITHOUT a pop-up blocker.
Yea, well, experienced users do have them installed, but there are a lot
of people who don't know they exist, or how to activate them.
And, of course, there are those few who like popups. Fortunately,
however, there are few computers in mental institutions :-)
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================