Problem with asp.net session
From: Roberto (rbethlem@wanadoo.fr)
Date: 08/28/02
- Next message: Alex Kudakov: "Some comments..."
- Previous message: Jeff Smith: "Re: Using an RSA key from an existing X509 certificate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Roberto" <rbethlem@wanadoo.fr> Date: Wed, 28 Aug 2002 00:37:37 -0700
Hello,
I have a problem of asp.net sessions.
i have a default.aspx which contains 2 iframes, A.aspx and
B.aspx.
When i authenticate, i put the name of the user in a
session :
Session["name_user"] = "ROBERTO"
When i try to read this data from A.aspx and B.aspx, it
works fine.
The problem is that i lose my session when i call B.aspx
from A.aspx with a javascript hyperlink :
<a href="top.document.all.IFRAME_B.src='http://B.aspx?
id=2'"> LINK TO B.ASPX </a>
Why ?? I stay in my aspx session ??
It works when i submit a form from A.aspx, for example :
function SUBMIT_IFRAME_B(idredirect)
{top.document.all.IFRAME_B.Document.FORMB.idredirect.value
= idredirect;
top.document.all.IFRAME_B.Document.FORMB.submit();}
Thanks,
Roberto
.
- Next message: Alex Kudakov: "Some comments..."
- Previous message: Jeff Smith: "Re: Using an RSA key from an existing X509 certificate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|