Click here to Skip to main content
13,552,161 members
Rate this:
Please Sign up or sign in to vote.
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 11-Nov-12 22:48pm
Updated 11-Nov-12 23:23pm
guptasanjay56 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
guptasanjay56 12-Nov-12 5:23am
Are you talking about ASP.NET?
guptasanjay56 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
Richard-MacCutchan 12-Nov-12 5:28am
There is no such thing as sessions in Visual Basic. You need to explain what platform or environment you are talking about. Please make sure your question provides full details of what you are trying to do.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If need to store some data in Session and you are asking for ASP.NET using language Visual Basic, the answer would be ..
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.180515.1 | Last Updated 12 Nov 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100