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

I dont know on how to create sessions in visual basic, Is there anyone here willing to teach me on how to do this? Any help will be accepted. Thanks guys. :)
Posted
Updated 11-Nov-12 23:23pm
v2
Comments
Sanjay K. Gupta 12-Nov-12 5:05am    
Please elaborate clearly what you are asking for.
keniks143 12-Nov-12 5:16am    
Do you know on how to create sessions in visual basic?
Like in php we will use $_Session to declare a session
Sanjay K. Gupta 12-Nov-12 5:23am    
Are you talking about ASP.NET?
Sanjay K. Gupta 12-Nov-12 5:24am    
Be Specific about your question.
keniks143 12-Nov-12 5:26am    
Visual Basic. Sorry if you cant understand clearly my question

1 solution

If need to store some data in Session and you are asking for ASP.NET using language Visual Basic, the answer would be ..
VB
Session("yourSessionKey")="Your Data" ' you can store the object type


InProc Session Mode, you can store non-realizable objects o
OutProc(SQL Server) Session Mode, your object must serializable.

Hope it would be helpful.
 
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