Click here to Skip to main content
15,896,063 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Problem writing Cookie Pin
firestoper2-Aug-07 19:17
firestoper2-Aug-07 19:17 
GeneralRe: Problem writing Cookie Pin
Mircea Grelus2-Aug-07 19:24
Mircea Grelus2-Aug-07 19:24 
GeneralRe: Problem writing Cookie Pin
firestoper2-Aug-07 20:47
firestoper2-Aug-07 20:47 
GeneralRe: Problem writing Cookie Pin
Mircea Grelus2-Aug-07 20:52
Mircea Grelus2-Aug-07 20:52 
GeneralRe: Problem writing Cookie Pin
firestoper2-Aug-07 21:45
firestoper2-Aug-07 21:45 
GeneralRe: Problem writing Cookie Pin
Mircea Grelus2-Aug-07 22:01
Mircea Grelus2-Aug-07 22:01 
GeneralRe: Problem writing Cookie Pin
firestoper2-Aug-07 22:42
firestoper2-Aug-07 22:42 
QuestionSession Variables and WebServices Pin
Fayu2-Aug-07 17:32
Fayu2-Aug-07 17:32 
I have a Session variables which i want to expose in a WebService.

Web Application:

Session["myObject"];


WebService:

    [WebMethod(EnableSession = true) ]
    public SuperSession GetSuperSession(string UserName)
    {
        List<object> ListOfObject = (List<object>)Session["myObject"];

        return ListOfObject;
    }


When I do this, i get the following error:
To be XML serializable, types which inherit from ICollection must have an implementation of Add(System.Object) at all levels of their inheritance hierarchy. System.Web.SessionState.HttpSessionState does not implement Add(System.Object). 



I have tried serializing the Global object with noluck.

Any ideas?

Thanks in advance!
AnswerRe: Session Variables and WebServices Pin
N a v a n e e t h2-Aug-07 18:00
N a v a n e e t h2-Aug-07 18:00 
Questionrunning long task as background worker Pin
Nadia Monalisa2-Aug-07 11:39
Nadia Monalisa2-Aug-07 11:39 
AnswerRe: running long task as background worker Pin
Fred_Smith2-Aug-07 11:55
Fred_Smith2-Aug-07 11:55 
GeneralRe: running long task as background worker Pin
Nadia Monalisa2-Aug-07 12:13
Nadia Monalisa2-Aug-07 12:13 
AnswerRe: running long task as background worker Pin
Mircea Grelus2-Aug-07 18:54
Mircea Grelus2-Aug-07 18:54 
QuestionActive Directory search from ASP.NET Pin
Adam Maras2-Aug-07 10:08
Adam Maras2-Aug-07 10:08 
AnswerRe: Active Directory search from ASP.NET Pin
Tarakeshwar Reddy2-Aug-07 10:28
professionalTarakeshwar Reddy2-Aug-07 10:28 
Generalasp:Panel Visible="False" as not effect Pin
Ed.Poore2-Aug-07 9:26
Ed.Poore2-Aug-07 9:26 
GeneralRe: asp:Panel Visible="False" as not effect Pin
Tarakeshwar Reddy2-Aug-07 9:46
professionalTarakeshwar Reddy2-Aug-07 9:46 
GeneralRe: asp:Panel Visible="False" as not effect Pin
Ed.Poore2-Aug-07 9:49
Ed.Poore2-Aug-07 9:49 
GeneralRe: asp:Panel Visible="False" as not effect Pin
Tarakeshwar Reddy2-Aug-07 9:58
professionalTarakeshwar Reddy2-Aug-07 9:58 
GeneralRe: asp:Panel Visible="False" as not effect Pin
Ed.Poore2-Aug-07 10:00
Ed.Poore2-Aug-07 10:00 
GeneralRe: asp:Panel Visible="False" as not effect Pin
Ed.Poore2-Aug-07 9:52
Ed.Poore2-Aug-07 9:52 
QuestionTree Control within Grid Control using AJAX and ASP.Net Pin
TinyTin2-Aug-07 8:22
TinyTin2-Aug-07 8:22 
AnswerRe: Tree Control within Grid Control using AJAX and ASP.Net Pin
Imran Khan Pathan2-Aug-07 18:27
Imran Khan Pathan2-Aug-07 18:27 
GeneralRe: Tree Control within Grid Control using AJAX and ASP.Net Pin
TinyTin2-Aug-07 19:57
TinyTin2-Aug-07 19:57 
QuestionNews Scroller Pin
Bad Programmer2-Aug-07 8:07
Bad Programmer2-Aug-07 8:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.