Do you have questions regarding Pecl or Pear? ask here!
Moderators: macek, egami, gesf
by Riku Tuominen » Fri Sep 01, 2006 7:37 am
How does pear liberies hande session variables.
Seems like for example HTML/QuickForm/controller
uses $_SESSION variables but when scaning the the file there is no session_start() code anywhere.
How can it still use the session functionality.
I would like same feature to my library so users of the library do not have to worry about placing session_start()
to the pages where my class is used.
-
Riku Tuominen
- New php-forum User

-
- Posts: 17
- Joined: Wed May 04, 2005 11:37 pm
by Riku Tuominen » Tue Sep 05, 2006 1:43 am
Well I just realised it was used in the example page.
Page where the class was instantiate.
-
Riku Tuominen
- New php-forum User

-
- Posts: 17
- Joined: Wed May 04, 2005 11:37 pm
by Riku Tuominen » Tue Sep 05, 2006 1:44 am
I quess it just is impossible to use the session_start in my class as user might have started a header before instantiating my class..
-
Riku Tuominen
- New php-forum User

-
- Posts: 17
- Joined: Wed May 04, 2005 11:37 pm
Return to PEAR and PECL
Who is online
Users browsing this forum: watsons006 and 1 guest