# Function request

- Thread: https://externals.io/message/9033
- Original archive: https://news-web.php.net/php.internals/9033
- Started by Jakes on 2004-04-10T13:15:43+00:00
- Messages: 6
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #9033 — Jakes — 2004-04-10T13:15:43+00:00

URL: https://externals.io/message/9033#9033

Hi all 

I'm not to sure where to actually post this, but maybe you guys can help out. This is more of a request than anything else.

What I'm looking for is function or a constant that will keep track of session that are currently in use in memory. This should just return a integer.

eg.

<?php

print session_current();    //returns 4 - These are currently active

?>

Thanks in advance...

J

---

## #9034 — Sean Coates — 2004-04-10T15:40:14+00:00

URL: https://externals.io/message/9033#9034 · In reply to: #9033

This can be done in user space, using custom session handlers.
[plug]http://phparch.com/sample.php?mid=22[/plug]

S


Jakes wrote:
> What I'm looking for is function or a constant that will keep track of session that are currently in use in memory. This should just return a integer.

---

## #9036 — Jakes — 2004-04-11T12:10:28+00:00

URL: https://externals.io/message/9033#9036 · In reply to: #9034

Please can you explain to me how this is done, without having to create some
sort of data storage facility.

Regards

Jakes


"Sean Coates" <sean@caedmon.net> wrote in message
news:4078155E.5060403@caedmon.net...
> This can be done in user space, using custom session handlers.
> [plug]http://phparch.com/sample.php?mid=22[/plug]
>
> S
>
>
> Jakes wrote:
> > […]
session that are currently in use in memory. This should just return a
integer.

---

## #9037 — Wez Furlong — 2004-04-11T12:18:41+00:00

URL: https://externals.io/message/9033#9037 · In reply to: #9036

The internals@ list is not the appropriate forum for this discussion.
Try php-general@lists.php.net instead.


----- Original Message ----- 
From: "Jakes" <sunsoffun@hotmail.com>
To: <internals@lists.php.net>
Sent: Sunday, April 11, 2004 1:10 PM
Subject: Re: [PHP-DEV] Function request


> Please can you explain to me how this is done, without having to create
some
> sort of data storage facility.
>
> Regards
>
> Jakes
>
>
> "Sean Coates" <sean@caedmon.net> wrote in message
> news:4078155E.5060403@caedmon.net...
> > […]
> session that are currently in use in memory. This should just return a
> integer.

---

## #9038 — Jakes — 2004-04-11T13:25:29+00:00

URL: https://externals.io/message/9033#9038 · In reply to: #9037

Hi Wez

Please can you send me in the right direction, for requesting a function to
be added to the php core.

J

"Wez Furlong" <wez@thebrainroom.com> wrote in message
news:000601c41fbf$21fcd990$8a02a8c0@tron...
> The internals@ list is not the appropriate forum for this discussion.
> Try php-general@lists.php.net instead.
>
>
> ----- Original Message ----- 
> From: "Jakes" <sunsoffun@hotmail.com>
> To: <internals@lists.php.net>
> Sent: Sunday, April 11, 2004 1:10 PM
> Subject: Re: [PHP-DEV] Function request
>
>
> > […]
> some
> > […]
of
> > […]

---

## #9039 — Derick Rethans — 2004-04-11T13:35:39+00:00

URL: https://externals.io/message/9033#9039 · In reply to: #9038

> Please can you send me in the right direction, for requesting a function to
> be added to the php core.

This doesn't belong in PHP as it's an application thing. Also, there is
no way this can be added to PHP with the current framework, hence Wez
pointing you to the correct list to discuss a script-level solution.

Derick

> "Wez Furlong" <wez@thebrainroom.com> wrote in message
> news:000601c41fbf$21fcd990$8a02a8c0@tron...
> > […]
> of
> > […]
