Hi :
I think the browser will store the session ID as a form of hidden field on
the html page if cookie is disabled for the browser. This hidden field will
be submitted together with other fields, hence preserving the user's
session.
Terence
> -----Original Message-----
> From: Sanjay Kumar [SMTP:[EMAIL PROTECTED]]
> Sent: 26 April 2000 19:01
> To: [EMAIL PROTECTED]
> Subject: Re: session problem
>
> Dear ahfei,
> Session uses Cookies for implementation. When user (browser) accesses
> a
> page from a webserver, a session id is created and it is stored in client
> browser. When browser asks for another page the session id stored in
> client's cookie is compared with the session id in the web server and the
> stored information in the session is fetched from the web server.
> If cookie is disabled how can sessions be implemented.
> There is nothing to do with sessions & URL rewriting
> I hope u understand the problem
>
> Sanjay Kumar
> Informica India Pvt Ltd
> Noida
> India
>
> ----- Original Message -----
> From: ahfei <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 26, 2000 1:17 PM
> Subject: Re: session problem
>
>
> > dear Sanjay Kumar
> >
> > if cookie enabled, this program can work . but i just want to know why
> url rewriting can not work with cookie disabled.
> >
> >
> > > Have u tried with cookie enabled in your browser ? Is it working?
> > >Sessions are implemented using cookie. Since session id is stored in
> browser
> > >cookie, if cookie is disabled session doesnot work.
> > >
> > >Sanjay
> > >
> > >----- Original Message -----
> > >From: ahfei <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Sent: Wednesday, April 26, 2000 6:30 AM
> > >Subject: Re: session problem
> > >
> > >
> > >> dear laurent andre
> > >>
> > >> but i had disabled cookies in netscape
> > >>
> > >> at 2000-4-25 17:01:00 your wrote:
> > >> >That means "your" session manager works with cookie ! So, if
> cookies
> > >> >are disabled, it doesnt work!
> > >> >i think....
> > >> >
> > >> >ahfei wrote:
> > >> >>
> > >> >> dear all:
> > >> >>
> > >> >> i made a test jsp program to study URL rewriting ,but it seems
> don't
> > >work. .
> > >> >>
> > >> >> test1.jsp
> > >> >> <%
> > >> >> session.setAttribute("hello","abcd");
> > >> >> response.sendRedirect(response.encodeRedirectURL("test2.jsp"));
> > >> >> %>
> > >> >>
> > >> >> test2.jsp
> > >> >> <%
> > >> >> out.println(session.getAttribute("hello"));
> > >> >> %>
> > >> >>
> > >> >> when i run the test1.jsp with cookie disabled,url rewriting don't
> work,
> > >and test2.jsp return a null string.
> > >> >>
> > >> >> can somebody help me?
> > >> >>
> > >> >> thanks in advance!
> > >> >>
> > >> >> ahfei
> > >> >> [EMAIL PROTECTED]
> > >> >>
> > >> >>
> >
> >=========================================================================
> ==
> > >> >> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > >JSP-INTEREST".
> > >> >> Some relevant FAQs on JSP/Servlets can be found at:
> > >> >>
> > >> >> http://java.sun.com/products/jsp/faq.html
> > >> >> http://www.esperanto.org.nz/jsp/jspfaq.html
> > >> >> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >> >> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > >> >
> > >>
> >
> >>========================================================================
> ==
> =
> > >> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > >JSP-INTEREST".
> > >> >Some relevant FAQs on JSP/Servlets can be found at:
> > >> >
> > >> > http://java.sun.com/products/jsp/faq.html
> > >> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > >> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > >>
> > >>
> > >> ahfei
> > >> [EMAIL PROTECTED]
> > >>
> > >>
> >
> >=========================================================================
> ==
> > >> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > >JSP-INTEREST".
> > >> Some relevant FAQs on JSP/Servlets can be found at:
> > >>
> > >> http://java.sun.com/products/jsp/faq.html
> > >> http://www.esperanto.org.nz/jsp/jspfaq.html
> > >> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> > >
> >
> >=========================================================================
> ==
> > >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > >Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > > http://java.sun.com/products/jsp/faq.html
> > > http://www.esperanto.org.nz/jsp/jspfaq.html
> > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
> > ahfei
> > [EMAIL PROTECTED]
> >
> >
> ==========================================================================
> =
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets