troubleshooting Question

Session Variables Not Remaining

Avatar of davism
davismFlag for United States of America asked on
ASP.NETC#Visual Basic.NET
22 Comments1 Solution250 ViewsLast Modified:
Hi,

Would could possibly be the reasons why when setting a Session variable in a button click event, when it hits the Page_Load the session variable is null meaning it does not appear to exist. The IsPortBack in the Page_Load is true. There is nothing in the web.config file regarding sessionstate or anything to do with sessions.

If I just create a new web app project and do a session variable and all it seems to work so the configuration of IIS, machine.config seems ok in the new web app project there is nothing in the web.config either regarding sessionstate.

What could possibly cause this or am I just missing something?
ASKER CERTIFIED SOLUTION
Jens Fiederer
Test Developer/Validator

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 22 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 22 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros