JB wrote:
> Hello Community
>
> Using ASP.NET, C# and Sql Server I produce a report by declaring session
> variable and passing the variables to a report like so:
>
> Session["ssnum"] = varssnum;
> Session["lname"] = varlname;
> Session["fname"] = varfname;
> Session["dob"] = vardob;
> Session["phone"] = varphone;
>
> ResponseHelper.Redirect("lFolder/reports.aspx?varssnum;=" +
> row.Cells[1].Text +
> "&varlname=" + row.Cells[2].Text + "&varfname=" + row.Cells[3].Text +
> "&vardob=" + row.Cells[4].Text + "&varphone=" + row.Cells[5].Text, "_blank",
> "width=800, height=1000, fullscreen=no");
>
> The problem is after that I click on another web page (aspx) that needs
> to use those same session variables.
>
> Since they are session variable is there anyway that the other web page
> can access those session variables?
>
Yes, the other page can use the session variables (a common shared
memory) on the Web server, which can be used between pages.
|