If anyone has used ColdFusion, they know that you can have different structures for session variables. For Instance:
SESSION.User.Name = John
SESSION.User.Age = 20
SESSION.User.Sex = Male
or
SESSION.Date.Day = Friday
SESSION.Date.Month = August
SESSION.Date.Year = 2005
So SESSION.User and SESSION.Date are individual collections of Session variables. So say for instance, you want to clear all the 'User' Session variables in a single command, you can do just that and not effect the 'Date' values.
My question is simple. Does ASP have a similar way of doing this? Because I am converting applications from CFM to ASP and I want to clear a SESSION.Validation collection once the data is ok. However, I want to leave the rest of the Session variables intact. I could always just clear each variable individually but that isn't good coding since there are 15 SESSION.Validation variables.
Thanks!
SESSION.User.Name = John
SESSION.User.Age = 20
SESSION.User.Sex = Male
or
SESSION.Date.Day = Friday
SESSION.Date.Month = August
SESSION.Date.Year = 2005
So SESSION.User and SESSION.Date are individual collections of Session variables. So say for instance, you want to clear all the 'User' Session variables in a single command, you can do just that and not effect the 'Date' values.
My question is simple. Does ASP have a similar way of doing this? Because I am converting applications from CFM to ASP and I want to clear a SESSION.Validation collection once the data is ok. However, I want to leave the rest of the Session variables intact. I could always just clear each variable individually but that isn't good coding since there are 15 SESSION.Validation variables.
Thanks!

