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

Recommended Answers

All 2 Replies

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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.