hi ... aray...

session object is implicit object available in your jsp pages. so all you
have to do is to put your value is it using session.putValue(String ,
Object) and then on the page where you need this value retrive it using
session.getValue(String).

Khush raho
Yasir

----- Original Message -----
From: Suriya Narayanan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 21, 2000 11:26 AM
Subject: Re: need urgent help about session handling!


> hai... abhay...
> i want onething... ie.. i want to achive session in
> jsp... ie.. i want to  create the session object...
> by using that want to get value from someother jsp..
> otherwise tell how to use set and getAttribute...
> send the sample program...
> reply soon at [EMAIL PROTECTED]
> --- Abhay Bhatnagar
> <[EMAIL PROTECTED]> wrote:
> > use getAttribute() & setAttribute()
> >
> > -----Original Message-----
> > From: rahul jadhav [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, July 19, 2000 8:19 PM
> > To: [EMAIL PROTECTED]
> > Subject: need urgent help about session handling!
> >
> >
> > hi friends,
> > when session timeouts we redirect it to login page.
> > we check it as
> > file://if(session.getValue("login")==null)
> > then redirect it.
> > It works fine in netscape but not in IE
> > even it works fine on intranet but not on internet
> > in ie.
> > we are using iplanet server.
> > On the same page where value is put in session,
> > it returns proper value in ie also but on other
> > pages
> > it returns null for ie5.0.
> > we are putting values as file://session.putValue
> > now by urlrewriting it can be solved.
> > but how to solve it without using urlrewriting?(as
> > at this stage
> > it's to difficult to change all files)
> > has anybody else also faced this problem?
> > how to solve it?
> > please help me.it's urgent.
> >
> > thanking you all,
> >                      Rahul.
> >
> >
> >
> ____________________________________________________________________
> > Get free email and a permanent address at
> > http://www.netaddress.com/?N=1
> >
> >
>
===========================================================================
> > 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
>
>
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
>
===========================================================================
> 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

Reply via email to