Originally posted by portaloo
wouldnt that just tell me the length of the variable stored in the session variable?
what i was wondering is what is the maximum number of characters that can be assigned to a session variable
do you understand the concept of an infinite for loop?
that php would loop through indefinately continuosly adding 1 to the end of the session variable...
ie
1
The current length of the variable is: 1
11
the Current length of the variable is: 2
111
the current length of the variable is: 3
.....
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
the current length of the variable is: 100
//and yes those counts are correct :p
eventually you should get an error, or a point where the size stops increasing... and violla! you answered your own question....... Sorta.... :rolleyes: