July 10th, 2002, 12:57 AM
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?
July 11th, 2002, 11:36 AM
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...