Using The public variables in ASP.net

G

Guest

We are developing a ASP.net application wherein we are bypassing the login
page if the windows user matches with the user of the application , but then
public variables or the session variables loose their values in this case
which are retained when the user goes through the login page, the code of the
click event is being directly called when the correct match is found...any
idea why the values are lost then
 
M

mona

Hello Teja,

The reason for this is that u assign the session values in the login page
If you bypass this page this assignment is also bypassed and so the
values are not retained.

HTH

Mona
 

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

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,119
Latest member
IrmaNorcro
Top