Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
Dear Sir/Mam,

I have more pages applied but using session concept. certainly i have add one page how to apply the session.
Posted
Comments
Vivek Krishnamurthy 13-Oct-11 2:41am    
Queestion is not clear, try to explain with your scenario.
BobJanova 13-Oct-11 6:37am    
Unclear

Your question is not clear, but this article will definitely help you learn about sessions.
Exploring Session in ASP.Net[^]
 
Share this answer
 
Comments
P.Salini 13-Oct-11 2:48am    
Nice link my 5!
If you are using Windows Forms, the Session objects are not available.
However you can implement some sort of your own mechanism.
 
Share this answer
 
Comments
Prerak Patel 13-Oct-11 3:06am    
OP is talking about pages, not forms.
You can simply create a session like session("ABC") on a single page then suppose page1.aspx.cs & the same session you can use in page2.aspx.cs by using this session("ABC") syntax. In page1 it will store some value as per your requirement then you can use the session anywhere in application in different pages.
 
Share this answer
 
go to this link

http://asp.net-tutorials.com/state/sessions/

hope this helps
 
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