app not using same session id ???

  • Thread starter Antonio Lopez Arredondo
  • Start date
A

Antonio Lopez Arredondo

hi all !!!

I have an HTML page with two links:
link1 point to page1.aspx
link2 point to page2.aspx

page1.aspx and page2.aspx are two different ASP.NET applications, that
require user authentication. the code behind of each aspx page is the same,
and validates an username/password against the same database. I want to ask
for username/password only once within the session.

when I click link1 I am asked for password and then I go back and forward
through the applicacion and I am not asked for the password again.

however, when I click link2 I am asked the password again. a new session is
created, even though I am using the same browser window.

is this behavior by design ? or maybe I am doing something wrong ?

any help will be greatly appreciated.
thanks,
ant
 
J

Jeffrey Palermo [MCP]

Antonio,
Yes, this behavior is by design. Applications are separated from other
apps to increase stability. They cannot share memory. You will have to
roll your own solution if these two applications want to share logins.
Maybe have a cookie authenticate the user, and the two applications could
share the cookie.

Best regards,
Jeffrey Palermo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top