Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
1)I am creating session["Name"], session["DES"] on PersonalDetails.aspx page.
2)After that I am login in Login.aspx page using only session["name"] and password.
3)Then i am redirect to Welcomepage.aspx.
4)Then i am click on Leave.aspx hyperlink on welcomepage.aspx.
5)After opened this Leave.aspx, I want Both session values in label which i have created on First page PersonalDetails.aspx.


My flow is

Personaldetails---->Login----->Welcome---->Leave

But When existing user again login when next time is it possible to get that session value which i have created earlier in personaldetails
Posted
Comments
Dominic Abraham 6-Feb-15 1:39am    
Hi,

The life of the particular session is till user logged out of the system. You can use some other storage mechanisms. For ex: cookies, database, file system etc.
Sinisa Hajnal 6-Feb-15 2:21am    
Or you could pass the parameters in URL or post them to the receiving page via hidden form.

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