Quick question - currently working on a web development project in classic ASP (yeah, I know, someones gotta do it)
Anyway, in the usual way that clients do, the spec has moved/grown to a point where it now looks nothing like the original ("can we just add this ...")
I was originally passing data from page to page with form variables (the original spec didn't have that many fields and wasn't that complex, so was reasonably feasible)
Now, the number of fields, and the number of pages passing to and from is huge, and it should really be an object. I've created a class in asp with appropriate fields, getter and setter methods; and all works fine. I'd like to hold the object in the session so that subsequent pages have access to it.
And thats where I'm failing - with classic ASP you cannot set a session variable with an object.
I've think I've read that with ASP.NET you can store an object in a session variable - but I wanted to check first. Anyone know if this is true ?
I've already half-persuaded the client that the app in classic ASP has reached the end of its era !!; and it looks like the contract will be extended to include me porting it to .NET anyway - whoopee, I get paid to learn .NET !!
Anyway, in the usual way that clients do, the spec has moved/grown to a point where it now looks nothing like the original ("can we just add this ...")
I was originally passing data from page to page with form variables (the original spec didn't have that many fields and wasn't that complex, so was reasonably feasible)
Now, the number of fields, and the number of pages passing to and from is huge, and it should really be an object. I've created a class in asp with appropriate fields, getter and setter methods; and all works fine. I'd like to hold the object in the session so that subsequent pages have access to it.
And thats where I'm failing - with classic ASP you cannot set a session variable with an object.
I've think I've read that with ASP.NET you can store an object in a session variable - but I wanted to check first. Anyone know if this is true ?
I've already half-persuaded the client that the app in classic ASP has reached the end of its era !!; and it looks like the contract will be extended to include me porting it to .NET anyway - whoopee, I get paid to learn .NET !!
Comment