R
Rick
Hi guys i have a problem with a page
I've made a little system to show products and who has bought each item, my
problem is this:
i have a page Customer.aspx and Report.aspx
Customer.aspx executes a javascript to show Report.aspx
the code is
protected void btnCA_Click(object sender, EventArgs e)
{
String strPop = "<script language='javascript'>" +
"window.open('rptSales.aspx?usuario=" + giUsuario.ToString() + "&nombre=" +
gsNombre + "','Report" + giUsuario.ToString() +
"','location=no,scrollbars=yes');</script>";
ClientScript.RegisterStartupScript(GetType(), "SalesReport" +
giUsuario.ToString(), strPop);
}
usuario=" + giUsuario.ToString() <--- here i send the user code using
Querystring
but if 2 or more users are logged at same time, the Report.aspx page shows
the second user items (or last logged user), why??? i'm sending the correct
user code but when more than one user are logged always the page shows last
user logged items
any idea??
PS: i also tried with cookies and got the same problem... =(
I've made a little system to show products and who has bought each item, my
problem is this:
i have a page Customer.aspx and Report.aspx
Customer.aspx executes a javascript to show Report.aspx
the code is
protected void btnCA_Click(object sender, EventArgs e)
{
String strPop = "<script language='javascript'>" +
"window.open('rptSales.aspx?usuario=" + giUsuario.ToString() + "&nombre=" +
gsNombre + "','Report" + giUsuario.ToString() +
"','location=no,scrollbars=yes');</script>";
ClientScript.RegisterStartupScript(GetType(), "SalesReport" +
giUsuario.ToString(), strPop);
}
usuario=" + giUsuario.ToString() <--- here i send the user code using
Querystring
but if 2 or more users are logged at same time, the Report.aspx page shows
the second user items (or last logged user), why??? i'm sending the correct
user code but when more than one user are logged always the page shows last
user logged items
any idea??
PS: i also tried with cookies and got the same problem... =(