Cant add a Generic collection to Session

Wednesday, 11 October 2006 12:10 by tariq

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: , , ,

Categories:  
Actions:   E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed
Comments are closed