We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,924 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

sessions

hi
how i can give session expairy time (about 5 min) in vb.net in pageload event,,
pls give me code,,,

4
Contributors
2
Replies
11 Months
Discussion Span
2 Years Ago
Last Updated
3
Views
Question
Answered
kanuri1
Junior Poster in Training
70 posts since Nov 2009
Reputation Points: 8
Solved Threads: 0
Skill Endorsements: 0

You can use following to setup session timeout for whole application in web.config.

<sessionState mode="InProc" timeout="5"/>

This will remove session after 5 minutes of inactivity.

virang_21
Light Poster
29 posts since Jan 2009
Reputation Points: 10
Solved Threads: 2
Skill Endorsements: 0
Question Answered as of 3 Years Ago by virang_21

Hi

Session is one of the EJBs and it represents a single client inside the Application Server. Stateless session is easy to develop and its efficient. As compare to entity beans session beans require few server resources.

To get more detail about session refer following article.

http://www.roseindia.net/javabeans/sessionbeantutorial.shtml

crishjeny
Junior Poster in Training
98 posts since Nov 2010
Reputation Points: 0
Solved Threads: 3
Skill Endorsements: 0

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0664 seconds using 2.67MB