Hello,
I come from ASP/ASP.NET, have read some PHP, and liked the extense libraries it has built in, and the functionality the PHP provides.
Now, APS.NET has the ViewState functionality. It's basically a hidden field on the page, which saves the values, and some state info of all controls, and restores the values, and state after a trip to the server.
ViewState is more complex than that, it has encryption for the data it stores, etc.
Is there a way to do that in PHP? How?
Thanks in advance,
Rick
Newbie to PHP from ASP
Moderator: General Moderators
Re: Newbie to PHP from ASP
PHP doesn't have anything like that. You'll have to write it yourself.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Newbie to PHP from ASP
There are some stateful frameworks though. I believe Prado has support for something of that nature:
http://www.pradosoft.com/
http://www.pradosoft.com/
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
Re: Newbie to PHP from ASP
Most PHP applications will make use of the Session for managing state. If your data grows beyond some minimal tracking, many will encapulate everything into a single array or object, serialise it, and store it to a database or cache.