Cant add a Generic collection to Session

Its wierd, and I cant make head or tail of it.

I was writing a webpart today, and I was maintaining a generic stack collection which I wanted to place in the session.

What is wierd is that if i were to add object of type Stack <T> to the session, SharePoint says an unrecoverable error has occurred.

The moment I changed the stack from a generic to a plain old .NET 1.1 non-generic Stack the error was gone.

tags: , , ,

Cross-posted from tariqayad.com

Print | posted on Wednesday, October 11, 2006 4:41 AM

Comments on this post

No comments posted yet.

Your comment:

 (will show your gravatar)
 
Please add 8 and 5 and type the answer here: