Click here to Skip to main content
15,901,284 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When setting the session inside the webform usercontrol and again redirect the aspx page the session getting cleared.

And some times not getting changed.
Posted
Updated 21-Jul-10 23:48pm
v3

No, there is no session 'inside a user control', the session exists for that user, across all pages and all controls. So, you need to fix your code. we can't help because you've not posted any.
 
Share this answer
 
This is not the expected behavior. Check your code. Use DEBUGGER.
Sessions are retained across pages for the user.

If you are unable to get it, post some code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900