Results 1 to 4 of 4

Thread: How to use the concept of sessions in Project development

  1. #1
    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.

  2. #2
    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.

  3. #3
    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.

  4. #4
    Join Date
    Jan 2009
    Posts
    99

    Re: How to use the concept of sessions in Project development

    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.

Similar Threads

  1. Replies: 4
    Last Post: 20-04-2012, 11:22 PM
  2. Concept of Supply chain management project.
    By Neel Kamal55 in forum Off Topic Chat
    Replies: 3
    Last Post: 18-11-2010, 06:57 AM
  3. What is PHP sessions and how they function
    By Zavier in forum Software Development
    Replies: 5
    Last Post: 23-01-2010, 02:30 AM
  4. How to set sessions for checkboxes
    By RogerFielden in forum Software Development
    Replies: 3
    Last Post: 15-04-2009, 02:07 PM
  5. SBS 2008 - Multiple RDP Sessions?
    By Oscar M in forum Small Business Server
    Replies: 3
    Last Post: 10-03-2009, 03:00 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,901,054.06755 seconds with 17 queries