Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 11-05-2009
Member
 
Join Date: Apr 2009
Posts: 40
How to use the concept of sessions in Project development

Hello all,

I want to introduce the concept of a session in my application to allow that a people with identification and password stored in my table in the database (sql server 2005) to understand the procedure of how the session takes place and how it is to be executed I wanted to have concrete examples if possible please let me know.

Thanks in Advance.
Reply With Quote
  #2  
Old 11-05-2009
Member
 
Join Date: Jan 2009
Posts: 140
Re: How to use the concept of sessions in Project development

Web Object i.e. WBSessions when we think of then it have a timeout time, which by default is configured in the WOApplication configuration. This timeout time determines that current session would be for how much time the server will keep the session alive without any active requests. When the session times out, it will be garbage collected.

and to achieve this

Code:
 Session session = (Session)session();
code will be considered.
Reply With Quote
  #3  
Old 11-05-2009
Member
 
Join Date: Feb 2009
Posts: 105
Re: How to use the concept of sessions in Project development

Sessions may have many different types such as just one above mentioned and the session tracking.

Under session tracking for exa when any user is shopping on-line, it is a real annoyance that the Web server can't easily remember previous transactions. at that time shopping cart will be available where previously measured transactions are kept in remembrance, as well as there are option can be available such as cookies, URL Rewriting, Hidden form fields. etc.
Reply With Quote
  #4  
Old 11-05-2009
Member
 
Join Date: Jan 2009
Posts: 99
Re: How to use the concept of sessions in Project development

Quote:
What is a Session ?
when a user makes a page request to the server, the server creates a temporary session to identify that user. So when that same user goes to another page on that site, the server identifies that user.

So session would be a small and temporary unique connection between a server and the user accessing that page for the time being, enabling it to identify that user across multiple page requests or visits to that site.

Methods of HttpSession Interface
  1. getAttribute(), getAttributeNames(), setAttribute(), removeAttribute() These methods are used to set, get and remove objects from a user session.
  2. getId()
  3. getCreationTime()
  4. getLastAccessedTime()
  5. isNew()
  6. invalidate()

with all the above method user can achieve the different kinds of sessions in his projects.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to use the concept of sessions in Project development"
Thread Thread Starter Forum Replies Last Post
How to view the link between the deliverable project task and the dependency project task in project pro 2010 Hevel Microsoft Project 4 20-04-2012 11:22 PM
Concept of Supply chain management project. Neel Kamal55 Off Topic Chat 3 18-11-2010 06:57 AM
What is PHP sessions and how they function Zavier Software Development 5 23-01-2010 02:30 AM
How to set sessions for checkboxes RogerFielden Software Development 3 15-04-2009 02:07 PM
SBS 2008 - Multiple RDP Sessions? Oscar M Small Business Server 3 10-03-2009 03:00 AM


All times are GMT +5.5. The time now is 03:45 PM.