Thread: Session IDs

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Posts
    0
    Rep Power
    0

    Session IDs


    Hi all,

    I am new to web development..

    I would like to create a web page, which creates a new session id ever time the user tried to access this page.

    It is like submitting an order. Once the user submits the order a new order will be created and I need to have a new session ID.

    Can you help?


    Kind regards
    Nader
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Posts
    68
    Rep Power
    14
    a session will exist when they get there, you just have to put something in it

    in java or jsp, you would have to declare the session, i.e.

    i use tags so it is from pageContext..

    private HttpSession session;
    session = pageContext.getSession();

    then put something in it... when they make a transaction or whatever you are going to have them do, set that particular session to null, and then start over again...

IMN logo majestic logo threadwatch logo seochat tools logo