Session transfer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lucas Ponzo

    Session transfer


    Hi ALL,

    I have a page that I setup an object that finaly I put it in the Session
    object (C# ASP.NET).

    Then, I use the WebRequest as following:

    WebRequest reportRequest = WebRequest.Crea te(reportUrl);
    WebResponse reportResponse = reportRequest.G etResponse();
    StreamReader reportReader = new StreamReader
    (reportResponse .GetResponseStr eam());
    string html = reportReader.Re adToEnd();

    But the reportUrl .ASPX page doesn't recognize the Session variable I
    created.
    Why ? ASP.NET creates another session for this request ?

    How do I code to the WebRequested page recognizes the session variable like
    in the same http session context ?

    This issue It's broked my ASP.NET Server side printing ...

    Passing parameters via URL are to hard because the object in the session
    variable are complexed configured and was the ideal solution that the page
    processed via WebRequest.GetR esponse doesn't return a NULL value, like in
    anothe user session.

    What is the solution for that session sharing ?

    Thanks,

    --
    Lucas Ponzo
    Software Engineering
    Override Software
Working...