c# - ASP.NET Sessions Question (Masterpage / Normal ASP.NET Page) -


i've got web application uses both master pages , standard .aspx pages.

for login routine i'm using sessions, create session when user logs on, navigating through content pages (assigned master page) works , session variables work fine, when click on link takes me 1 of .aspx pages following error:

object reference not set instance of object.

the strange thing, it's not happening on computers. cannot reproduce error here on work pc code running locally.

when try , run on our server error occurs.

any thoughts?

thank-you

i try "tracing" sessionid of session object make sure same across pages.

i did have issue similar on tuesday , struggled 7 hours (mainly due bureaucracy of our company not letting developers deploy code , worked me locally) before finding out needed add web.config. thought default normal 20 minutes if line not in there, cleared issue. else check.

good luck. doesn't sound whole lot of fun because there no easy way figure out going on.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -