Click here to Skip to main content
15,939,243 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

In my application I have stored the username using session and then get the value in main page, whenever i login the application 1st time the message shows, null value in the session. can any one please help me solve this problems.


Thanks,
Sureshkumar.G
Posted

There could be 2 possibilities.

1. May be you have store your username in session from any other page rather than login page.

2. May be your session get expired.

Thanks

Mehul Thakkar
 
Share this answer
 
If it's only the first time, it must mean that you set it after the page has rendered OR that your code checks it within your page cycle prior to it being set.
 
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