the question is down about 30 lines.

----- Original Message -----
From: Craig McClanahan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 14, 1999 2:57 PM
Subject: Re: Same session


> Sessions and user authentication are two totally different concepts -- in
fact,
> you can use sessions for all sorts of stuff without requiring a login at
all.
> If you're using cookies for session ID maintenance, it can be totally
invisible
> to the user as well.
>
> Let's look at a couple of analogies to help explore the differences:
>
> * On an OS like Unix or NT.........
>
> * Now think about the installation of a typical Windows program
>   based on something like InstallShield.  You are walked through
>   a "wizard" application that asks you a few questions at a time,
>   but you can always go back to the previous page to modify one of
>   those answers.  In the servlet/JSP world you can implement
>   wizard-type applications quite easily, by maintaining the previous
>   answers in the user variables of a session -- even if you did not
>   ask the user to "log in" with a username/password.
>

OK Here is my question.  I am developing a "wizard" application, and I was
wondering if anyone has any ideas as to how to keep track of which step the
user is up to. I was planning on using a session variable and incrementing
it each time the page loads, but then when they hit refresh, it takes them
forward a step.  Also, whats the best way to implement a "back" button?
should it just be a JavaScript call of History.back.....or maybe decrement
the step counter and have the servlet populate the form fields with the
stored values.  If anyone would like to share any experience they have had
with writing such applications, or just know some cool tricks to use for
such a servlet, please reply.....every bit of info is a help.

Thanks,
Avidan Ross




> In grossly simplistic terms, usernames are "static" things -- used to
identify a
> particular individual and (in conjunction with a password) prove to the
system
> that you are authorized to use it.  It is only one individual, even if
they are
> doing more than one interaction with the system at the same time.
>
> Sessions are more "dynamic" things -- a particular individual is using the
> system at a particular time to do a particular interaction with the system
that
> typically involves more than one page.
>
> >
> > thankyou
> > srikanth patibanda
> >
>
> Craig McClanahan
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html


__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to