Re: Session Retrieval problem in Netscape.

2005-06-07 Thread Richard Yee
t/jsp application running under IE 5.5 and 6, using Tomcat 5.0. When I use Netscape 7 and heigher ( I havant checked for older versions.) for running my application, and try to access the attributes set within the session, I only get null and nothing else. The complete scenario is like this. I have a

Session Retrieval problem in Netscape.

2005-05-24 Thread Abhijeet Kahale
Hi All, I have a servlet/jsp application running under IE 5.5 and 6, using Tomcat 5.0. When I use Netscape 7 and heigher ( I havant checked for older versions.) for running my application, and try to access the attributes set within the session, I only get null and nothing else. The complete

Re: Session listener redirect

2004-09-24 Thread Ravi Gupta
Did you ever get this to work? i am having the same problem (redirection from a listener class?) thanks ravi gupta === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTE

Re: Session question

2004-07-21 Thread Carlos Delgado
Hello. I don't know if I understood well, but if what you want is to free all memory asociated to a session, you must use the invalidate() method. Bye. From: Edward King <[EMAIL PROTECTED]> Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTE

Session changes in fwding a requesst

2004-07-16 Thread saxenashyam
no Login page comes and the person can enter the admin functionality. To prevent >it I have set one parameter in session in LoginServlet: session.setAttribute("Login", "Authenticated"); Now I am trying to get this in Admin Servlet. First time I manage to get the value of

Re: Session question

2004-07-14 Thread SUBSCRIBE JSP-INTEREST Santhosh
Hi Edward, Set the maxSessionTime which automatically destroy the session object. This is the link which gives you more information http://docs.sun.com/source/816-6774-10/prog_sso.html Bajja Santhosh Gopalakrishna i-flex solutions ltd., i-flex center Millennium Tower - Gopalan

Session question

2004-07-14 Thread Edward King
Hello every, I puzzled a question,I open a Database and read so many records from it and put them into Vector, then I put this Vector into Session.This will cost a lot of memory of Computer.I guess Session should keep in Server Part and not in Client Part.Right? If Session keep in Server Part

Re: session duplication

2004-05-19 Thread Brian P Bohnet
If you are declaring ANY variable references outside of your doPost or doGet, which some people like to refer to as "global variables", you will have this problem. It is incorrect to use any type of "global variables" when using servlets. Brian ==

Re: session duplication

2004-05-19 Thread Zerbe John W
3:58 AM To: [EMAIL PROTECTED] Subject: Re: session duplication Are you running your app in some kind of proxy env ? Maybe your proxy server is not handling the requests properly. Ritesh > -Original Message- > From: A mailing list about Java Server Pages specification and ref

Re: session duplication

2004-05-19 Thread Ritesh Gupta
ho > Sent: Wednesday, May 19, 2004 12:39 PM > To: [EMAIL PROTECTED] > Subject: session duplication > > > Hi All .. I got a serious problem. I use cookie and session id to check > user loged in to the systen > Once I login, I get another person userid that not mine. > Examp

session duplication

2004-05-19 Thread Dwi Pamiluto Nugroho
Hi All .. I got a serious problem. I use cookie and session id to check user loged in to the systen Once I login, I get another person userid that not mine. Example : I login as dnu, but after login authentication is success (passed) another name (say : sbody) appeared at my PC. This problem also

How to know if session is timeout in JSP

2004-04-29 Thread Edward King
//online number When user's session is timeout or user closed IE,I remove user from this Hashtable. My question is how to know user's status in Server? Any idea will be appreciated! Edward === To unsubscribe: mailto [

Re: Session Tracking

2003-12-22 Thread Amjad Shahrour
i believe that you can use that HttpSession only with servelets and JSPs ( I.e. withen a web container) instead, you can render your applet inside a JSP using , and let the JSP take care of session management. Amjad Shahrour Application Developer Tel: +966.2.653.3334 ext 213 [EMAIL

Session Tracking

2003-12-22 Thread Kumar.K.R
hi all, I have an applet to be loaded into my broswer. Can i have the Session tracking using the same HttpSession as in case of a JSP. Plz respond. Thanx and Regards, KR Kumar === To unsubscribe: mailto [EMAIL PROTECTED

Re: Session not accessible

2003-06-23 Thread John Arockiaraj
sion. HTH John -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED] Behalf Of manjunath Sent: Saturday, June 21, 2003 1:45 PM To: [EMAIL PROTECTED] Subject: Re: Session not accessible session communication between cross cont

Re: Session not accessible

2003-06-23 Thread Kenny G. Dubuisson, Jr.
LDAP is perfectly designed for this use. A properly setup LDAP server offers you a single authentication point for many different applications. What happens is that you create an authentication record in the LDAP user for each application that you want the user to access. The user's name and pass

Re: Session not accessible

2003-06-20 Thread manjunath
session communication between cross context is not allowed . this by design. An ISP hosting jsp site will different context for different customers. these sessions should NOT communicate. In this case for authenticating to different contexts at single log on , use third party authentication

Re: Session not accessible

2003-06-20 Thread vtr
Yee, Can you please suggest some solution for this problem other than keeping the applications in the same session. The thing is that these applications are developed by different different groups in my organisation and hence deployment takes place in different contexts. As authentication is

Re: Session not accessible

2003-06-20 Thread Yee, Richard K,,DMDCWEST
vtr, You wrote: >The JSP and Servlet are in different context in a TOMCAT 1.4.1. webserver. This is your problem. Sessions are maintained on a context level by the app server. Only JSPs and Servlets within the same context can access the same session insta

Session not accessible

2003-06-19 Thread vtr
Hi all, I have a login JSP where in I set the session variable when I try to access the session from another report servlet the session variable is not accessible and also the getSession method returns different values every time . I have tried using true and flase in the getSession.The JSP

session variable returns null in non-SSL page

2003-06-11 Thread manjunath
I am transporting the one webapp which was running on IIS+Tomcat3.x to Tomcat4.1.24. I have used SSL session using HTTPS for login and some user specific jsp pages. I maintains session using HttpSession. there are some non-SSL HTTP pages where i access session variables. I am getting the

Re: 10 By 10 - don't store the result sets in the session!

2003-04-03 Thread Yee, Richard K,,DMDCWEST
Peter, You might really want to reconsider storing your result set in the session. This approach will not scale very well and is apt to cause your application server to run out of memory. If the number of users gets large, you will be consuming a large amount of memory just to store the result

Re: Session listener

2003-03-10 Thread SKarthikeyan
CTED] Sent: Mon 3/10/2003 12:28 PM To: [EMAIL PROTECTED] Cc: Subject: Re: Session listener You can use the HttpSessionListener interface. In case the session is invalidated or canceled otherwise, the code to reinstate the db can be

Re: Session listener

2003-03-09 Thread Partha Ranjan Das
You can use the HttpSessionListener interface. In case the session is invalidated or canceled otherwise, the code to reinstate the db can be done inside the method sessionDestroyed(). Remember you need to set your conteiner to register the implementing class to receive the events. Regards, Partha

Re: Session listener

2003-03-08 Thread Martin Gainty
2 methods 1)put it into the Database but dont commit it until you log out (of the sesssion)2)dont put it into the DB until you are absolutely positively sure you want it in there(when you logout of the session)Makes Sense? Martin Gainty

Session listener

2003-03-08 Thread Peter Dolukhanov
Dear All, I'm fairly sure this has been mentioned previously, but I cannot find any discussion in the archives. The site I am developing has a standard shopping cart object implemented within a session object. Whenever a user adds an item to his shopping cart, it is temporarily removed fro

Re: session data

2003-03-08 Thread [Mohnish Verma]
Dear Sir/Madam, Our Domain (psl.polarinc.com) has been changed to pil.polarinc.com.Pl send your emails on changed address as pil.polarinc.com instead of psl.polarinc.com For example: if you want to send your email to nk(username)as [EMAIL PROTECTED],now you pl send on [EMAIL PROTECTED] Inconven

session data

2003-03-08 Thread Peter
hi all is there any technique to find the session data in iplanet webserver that has jsp's and servlets at a particular point of time i.e. value of all httpsession objects Regards Peter ==To unsubscribe: mailto [

Why the user's session id did not get removed from the global hashtable?

2003-02-27 Thread Roland Dong
user log out or session expires. the sessionDestroy method will delete that user from the global hashtable. Then, I need C.jsp to display the currently logged on users. So far I can only populate the hashtable but CAN NOT remove any user when the user's session invalidated. So even a user logge

Re: Non-SSL pages returns session attribute as null

2003-02-21 Thread Alejo Marcos, Alberto
returns session attribute as null Hi My web application has both HTTP and HTTPS jsp pages. I create session in HTTPS page. and use the same throughout. But i have come across strange problem in Tomcat4.0. When i try to access session attribute in HTTP page , it returns null and the user will be logged

Non-SSL pages returns session attribute as null

2003-02-20 Thread Manjunath Bhat
Hi My web application has both HTTP and HTTPS jsp pages. I create session in HTTPS page. and use the same throughout. But i have come across strange problem in Tomcat4.0. When i try to access session attribute in HTTP page , it returns null and the user will be logged off. This behavior was not

Re: Other users session invalidation

2003-01-23 Thread Eric Noriega
w the method invalidateSession, but can I store in my data structure the pageContext to later obtain the session and invalidate it? is correct? I hope that I had explain my problem correctly. Thanks in advance, Luis =

Re: Other users session invalidation

2003-01-23 Thread Zerbe John W
23, 2003 4:37 AM To: [EMAIL PROTECTED] Subject: Other users session invalidation Hi all, I an implementing a web application in which, among other things, the app. administrator has a web interface to list all the active sessions and invalidate any of them. Now, I mantain a data estructure to

Other users session invalidation

2003-01-23 Thread Luis Cornide Arce
any method to obtain all the active sessions. My second question is how to invalidate the sessions, I mean, I know the method invalidateSession, but can I store in my data structure the pageContext to later obtain the session and invalidate it? is correct? I hope that I had explain my problem

Re: How to get values of all session variable--application wide?

2003-01-08 Thread Roland Dong
Does HttpSessionListener works with servlet2.2 ? We have iPlanet web server 6. It does not support jsp1.2 and servlet2.3... How do you find values in HttpSessonListener? Can you be a bit specific? Say, if I store set session variable useName with the value "abc". How do I get tha

Re: How to get values of all session variable--application wide?

2003-01-01 Thread Ritesh Gupta
:32 AM Subject: How to get values of all session variable--application wide? > I am trying to implement a admin jsp page which display all ACTIVE users at > the moment. Is it possible to somehow use session mechnism to implement > that? > > For example: > > User A login with

Re: How to get values of all session variable--application wide?

2003-01-01 Thread Partha Ranjan Das
get values of all session variable--application wide? I also had the same requirement and tried using a sessiontag available in apache-jakarta site but not to of any use . I'll be glad to know if you succeed in this.(presently i am using a batabase approach

Re: How to get values of all session variable--application wide?

2003-01-01 Thread V.T.R.Ravi Kumar
2:32 AM Subject: How to get values of all session variable--application wide? > I am trying to implement a admin jsp page which display all ACTIVE users at > the moment. Is it possible to somehow use session mechnism to implement > that? > > For example: > > User A login with t

How to get values of all session variable--application wide?

2002-12-31 Thread Roland Dong
I am trying to implement a admin jsp page which display all ACTIVE users at the moment. Is it possible to somehow use session mechnism to implement that? For example: User A login with the user name "UA" and that user name is stored in a session variable "loginName".

Re: session timeout setting

2002-12-20 Thread Pillai Jaideep, App Spec, SCS-SD
It is important to make a difference between a user session and a HTTP session. Many user sessions on the same browser instance will be just one HTTP session. session.setMaxInactiveInterval allows U to set a idle timeout(timeout between 2 successive requests) on the HTTP session. One way to handle

Re: session timeout setting

2002-12-19 Thread Alan Meyer
. Sent: Wednesday, 18 December, 2002 12:11 AM To: > [EMAIL PROTECTED] Subject: session timeout setting > > > I have a site written in JSP that uses session info to validate user's > sessions. I want to change the default timeout of the session from 60 > mins but I'm not

Re: session timeout setting

2002-12-18 Thread Yong How
12:11 AM To: [EMAIL PROTECTED] Subject: session timeout setting I have a site written in JSP that uses session info to validate user's sessions. I want to change the default timeout of the session from 60 mins but I'm not sure what is controlling this or how/where to change it. Here

Re: Controlling session when user is out

2002-12-17 Thread Vikramjit Singh
i think you can check this article: http://www.onjava.com/pub/a/onjava/2001/04/12/listeners.html > -Original Message- > From: Christian Hamann L [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 13, 2002 8:56 PM > To: [EMAIL PROTECTED] > Subject: Re: Controlling sessi

Re: session timeout setting

2002-12-17 Thread Josep R. Raurell
I only use a session variable,  Tomcat does the cookie work, and I only check if the user variable exist in the session. After the time of inactivity, Tomcat closes the session and the user must revalidate. I dont know if is the same that you do. Josep En/na Kenny G. Dubuisson, Jr. ha

Re: session timeout setting

2002-12-17 Thread Kenny G. Dubuisson, Jr.
Will this keep it from generating a new session ID every 60 mins? Thanks for the quick response. Kenny - Original Message - From: "Josep R. Raurell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 17, 2002 10:24 AM Subject: Re: session timeout s

Re: session timeout setting

2002-12-17 Thread Josep R. Raurell
You can put this in your code: session.setMaxInactiveInterval(time); // time in seconds Josep R. Raurell En/na Kenny G. Dubuisson, Jr. ha escrit: I have a site written in JSP that uses session info to validate user's sessions. I want to change the default timeout of the session fr

session timeout setting

2002-12-17 Thread Kenny G. Dubuisson, Jr.
I have a site written in JSP that uses session info to validate user's sessions. I want to change the default timeout of the session from 60 mins but I'm not sure what is controlling this or how/where to change it. Here is more info to help figure this out...if anyone has any ide

Re: Controlling session when user is out

2002-12-14 Thread Christian Bollmeyer (GMX)
Hi Christian, this is exactly what session timeouts are made for. HTTP is request-response based, ie. a statusless protocol, so if the user doesn't log out as designed (giving your app a chance to call session.invalidate() somewhere), there is no means to tell if he is still connected or no

Re: Controlling session when user is out

2002-12-13 Thread Martin Gainty
TED]> >Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Controlling session when user is out >Date: Fri, 13 Dec 2002 10:26:22 -0500 >MIME-Version: 1.0 >Received: from mc5-f25.law1.hotmail

Re: Controlling session when user is out

2002-12-13 Thread Christian Hamann L
Hi All I have applications in my Application Server, which everybody are connecting to database, for some applications i use beans to manage information, but whne the user close the browser i dont know how can control his session, i can put a button for inavlidate sessions, but the user dont use

Re: Can i use session object from jsp in java class

2002-11-29 Thread 冯家宏
Hi, I would recommmend you use a javabean,this java bean call the session. perpaps it will be better. ¡¡ ¡¡J.H,Feng ¡¡ ¡¡2002-11-29 Original Message From: [EMAIL PROTECTED] >why do you want to pass

Re: Can i use session object from jsp in java class

2002-11-28 Thread Dinesh
yes man u can === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: htt

Re: Can i use session object from jsp in java class

2002-11-28 Thread Kesavanarayanan, Ramesh (Cognizant)
why do you want to pass the session object. each session object will have a session id. you can get this in jsp by simply invoking session object but there is no reason why you should set this to a java class. think can help you if you are clear in your reqr.. Regards Ramesh Kesavanarayanan

Can i use session object from jsp in java class

2002-11-28 Thread mahesh.kagalkar
Hi Can i pass the seeion object from jsp page to a java class and in java class can i use that session object as in jsp page give me the details Thanks you === To unsubscribe: mailto [EMAIL PROTECTED] with body

Re: session object and secure server

2002-11-14 Thread Augustin, Priscilla
In netscape, if you are not using the default port for http and https, when it switches from http to https or from https to http a new session object will be created. This because the session cookie includes the port no. too. To avoid this, try setting the cookieDomain to the hostname. In

session object and secure server

2002-11-14 Thread Alireza Nahavandi
Hi everybody, First of all thank you all for responding to my previous questions. I have a problem for using SSL. There is a session object passing to a jsp page in secure server. When coming back from secure server I'll lose the content of the object. Does anybody know how to keep the obj

Re: Removing session object

2002-11-08 Thread Amit Ghaste
invalidate . invalidates the session(for want of a better wordage) he just wants to remove teh bean. check on removeAttribute and removeValue(for some reason this works in some environments even tho its deprecated) -Original Message- From: A mailing list about Java Server Pages

Re: Removing session object

2002-11-08 Thread Hans Bergsten
Richard Yee wrote: Alireza, Take a look at the JavaDoc for javax.servlet.http.HttpSession. There is a method called removeAttribute() that you can use to remove the object from your session. You can get the session object by calling HttpServletRequest.getSession(). Or if you want a non-Java

Re: Removing session object

2002-11-08 Thread Richard Yee
Alireza, My prior response gave you the instructions on how to remove an object from your session. you can use Peter's method to completely wipe out the current session. Also, you can just use the implicit session variable rather than getting it using HttpServletRequest.getSession(). Re

Re: Removing session object

2002-11-08 Thread Richard Yee
Alireza, Take a look at the JavaDoc for javax.servlet.http.HttpSession. There is a method called removeAttribute() that you can use to remove the object from your session. You can get the session object by calling HttpServletRequest.getSession(). Regards, Richard At 04:13 PM 11/8/2002 -0500

Re: Removing session object

2002-11-08 Thread Peter Dolukhanov
session.invalidate() Regards, Peter Dolukhanov -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:JSP-INTEREST@;JAVA.SUN.COM] On Behalf Of Alireza Nahavandi Sent: 08 November 2002 21:13 To: [EMAIL PROTECTED] Subject: Removing session

Removing session object

2002-11-08 Thread Alireza Nahavandi
Hi every body, I have a couple of jsp pages using a session object : At one point after doing some process I need to remove this object. How can I do this ? Thank you in advance === To unsubscribe: mailto [EMAIL

Re: session nonpersistence

2002-11-01 Thread Monte Gardner
t; > Now aint that gonna suck? > > > -Original Message- > > From: Monte Gardner [SMTP:[EMAIL PROTECTED]] > > Sent: 31 October 2002 03:57 > > To: [EMAIL PROTECTED] > > Subject: Re: session nonpersistence > > > > I think I may have found t

Re: session nonpersistence

2002-11-01 Thread Zerbe John W
Some containers allow you to set specific attributes for the session cookies. You could set a cookie domain of ".addr.com" so that your session cookie will flow back to any of the host names within a domain. -Original Message- From: Adrian Janssen [mailto:ajanssen@;TRUWORTHS.C

Re: session nonpersistence

2002-11-01 Thread Adrian Janssen
IL PROTECTED] > Subject: Re: session nonpersistence > > I think I may have found the problem. My webserver > (I rent space on a commercial webserver) does a strange thing > with regards to URL's: > when I type in "www.addr.com/~mgardne/somepage.html" > the brows

Re: session nonpersistence

2002-10-30 Thread Monte Gardner
t; > --Monte Glenn Gardner > > > On Wed, 30 Oct 2002, Nimmons, Buster wrote: > > > Also, if he jsp pages are in different web apps then each web application > > gets it's own session object and the objects are not replicated > > > > -Original Message-

Re: session nonpersistence

2002-10-30 Thread Nimmons, Buster
Then they are in the same web-app (probably default) -Original Message- From: Monte Gardner [mailto:Monte.Gardner@;ASU.EDU] Sent: Wednesday, October 30, 2002 10:47 AM To: [EMAIL PROTECTED] Subject: Re: session nonpersistence soemoen else mentioned something about this. How do I tell if

Re: session nonpersistence

2002-10-30 Thread Monte Gardner
web application > gets it's own session object and the objects are not replicated > > -Original Message- > From: Shawn Bayern [mailto:bayern@;ESSENTIALLY.NET] > Sent: Wednesday, October 30, 2002 9:32 AM > To: [EMAIL PROTECTED] > Subject: Re: session nonpersistence > > &

Re: session nonpersistence

2002-10-30 Thread Nimmons, Buster
Also, if he jsp pages are in different web apps then each web application gets it's own session object and the objects are not replicated -Original Message- From: Shawn Bayern [mailto:bayern@;ESSENTIALLY.NET] Sent: Wednesday, October 30, 2002 9:32 AM To: [EMAIL PROTECTED] Subjec

Re: AW: session nonpersistence

2002-10-30 Thread Monte Gardner
;id") > > Hope this helps. > > -Ursprüngliche Nachricht- > Von: A mailing list about Java Server Pages specification and reference > [mailto:JSP-INTEREST@;JAVA.SUN.COM] Im Auftrag von Monte Gardner > Gesendet: Mittwoch, 30. Oktober 2002 15:14 > An: [EMAIL PROTECTED]

AW: session nonpersistence

2002-10-30 Thread Jens Gersonde
te Gardner Gesendet: Mittwoch, 30. Oktober 2002 15:14 An: [EMAIL PROTECTED] Betreff: session nonpersistence I have a series of JSP pages that begin with a standard userid/password login. The page that receives the login request (shop.jsp) stores the id in the session like this session.setAttribu

Re: session nonpersistence

2002-10-30 Thread Shawn Bayern
On Wed, 30 Oct 2002, Monte Gardner wrote: > I have a series of JSP pages that begin with a standard > userid/password login. The page that receives the login > request (shop.jsp) stores the id in the session like this > session.setAttribute("id",id); > when I print o

session nonpersistence

2002-10-30 Thread Monte Gardner
I have a series of JSP pages that begin with a standard userid/password login. The page that receives the login request (shop.jsp) stores the id in the session like this session.setAttribute("id",id); when I print out session.getAttribute("id"); on the same page, it print

Session Active

2002-10-04 Thread V.T.R.Ravi Kumar
Hi , I''ve used this particular tag for counting active sessions the jsp is as follows <%@ page import="java.util.Date"%> <%@ page import="java.util.Locale"%> <%@ page import="java.util.*,java.text.*"%> <%@ page session="true

A doubt in Http Session

2002-09-26 Thread Vijayanand
Hi all, I am facing a strange problem in my application. The problem is: Iam having an JSP page in which, iam storing a value into http session. Then iam redirecting to a servlet, using sendRedirect method. In the redirected servlet, iam trying to retrieve the value from the session

Re: session timeout question

2002-09-11 Thread Ritesh Gupta
Hi Randie, I think this is a behavior that you might expect with most servlet-containers. The session-timeout for most servlet-containers is normally managed by some clean-up thread. This is invoked after every few minutes to remove any session objects that have expired. So the time-out of your

Re: session timeout question

2002-09-11 Thread randie ursal
hi guys, i tried to investigate this behavior to find out what went wrong and i've come up with this information...when i open 2 browsers with difference of less than 1 minute on each opening there session will both expire at the same time. while if i open 2 browser

session on servlet

2002-09-10 Thread randie ursal
what happen when session expires. this scenario works fine, my session was invalidated after session timeout and the sessionlistener was notified. my problem is when i access my web application by using two browsers and let the 1st browser remain idle until session expires. the 2nd

Re: setting session timeout time

2002-09-06 Thread Jay Kadiam
Randie, You can set it in the web.xml 1 Peace, Jay === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevan

setting session timeout time

2002-09-03 Thread randie ursal
hi, is this the only way i can set session timeout on every request? HttpSession.setMaxInactiveInterval(int interval) thanks in advance randie === To unsubscribe: mailto [EMAIL PROTECTED] with body

Test session state

2002-08-26 Thread Greg Dunn
I've S'ed TFW and the FA but I can't find a discussion of this. What's the best way to test for session state in a JSP? I've been reading a session attribute and if it returns null I send the user to a "You timed out" page. This works OK as far as the view

Re: How to create a session object other than "session"

2002-08-10 Thread Martin Gainty
ence <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: How to create a session object other than "session" >Date: Fri, 9 Aug 2002 17:11:12 -0500 >MIME-Version: 1.0 >Received: from mc2-f14.law16.hotmail.com ([65.54.237.21]) by mc2-s9.law16.hotmail.com with Microsoft

Re: How to create a session object other than "session"

2002-08-09 Thread Bhangale, Bhushan
You are doing a very minor mistake. You have defined the currSession variable in p1.jsp and using it in p2.jsp. Obviously it will give variable not defined error since its not defined in p2.jsp. Remember p1.jsp and p2.jsp are two different files. Whereas the session variable is a implicit object

How to create a session object other than "session"

2002-08-09 Thread Roland Dong
I am testing a session object so I created p1.jsp with the snippets: <% HttpSession currSession = request.getSession(true) currSession.setMaxInactiveInterval(3600); currSession.setAttribute("user", Name); currSession.setAttribute("id", ID);

Re: attaching methods to application and session o bjects

2002-07-31 Thread Bhangale, Bhushan
PROTECTED] Subject: Re: attaching methods to application and session o bjects I do not think websphere and weblogic does that. so the solution would not be portable at all. It is a pitty that guys at sun or sevlet engine implementors did not think of that...(YET !) -Original Message- From

Re: attaching methods to application and session o bjects

2002-07-31 Thread Cengiz KAYAY
, 2002 3:34 PM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] attaching methods to application and session objects You can very well do it. But in order to use the session class which you created, you need to register it into your server. Atleast iPlanet provide this facility. -Original Message

Re: attaching methods to application and session objects

2002-07-31 Thread Bhangale, Bhushan
You can very well do it. But in order to use the session class which you created, you need to register it into your server. Atleast iPlanet provide this facility. -Original Message- From: Cengiz KAYAY [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 3:41 AM To: [EMAIL PROTECTED

Re: attaching methods to application and session o bjects

2002-07-31 Thread Cengiz KAYAY
Sorry but I did not get it. Can u be more specific? Thanks -Original Message- From: ? ?? [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 10:43 AM To: [EMAIL PROTECTED] Subject: Re: [JSP-INTEREST] attaching methods to application and session objects you can use it like request

Re: attaching methods to application and session objects

2002-07-31 Thread ? ??
you can use it like request directly. session.set*() session.get*() - Original Message - From: "Cengiz KAYAY" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 31, 2002 4:40 PM Subject: attaching methods to application and session objects

attaching methods to application and session objects

2002-07-31 Thread Cengiz KAYAY
Hi all; I have a question about HttpSession. I would like to put some methods into the session object. Cause the HttpSession is only an interface and underlying servlet engine does implement it. How Can I do such a thing if it is any possible ? so, Can I do that ? HttpSession session

Re: session error

2002-07-17 Thread aRUN NANDY
Pl try forward instead of sendredirect that will be better choice. - Do You Yahoo!? Yahoo! Autos - Get free new car price quotes === To unsubscribe: mailto [EMAIL PROTECTED] with body: "sig

Re: session error

2002-07-16 Thread Vaishali S. Pandya
mailing Subject: Re: session error list about Java Server Pages specification and reference 07/17/02 11:27 AM Please respond to A

Re: session error

2002-07-16 Thread Vaishali S. Pandya
jsp:forword is working fine thanks Rakesh Menon <[EMAIL PROTECTED]To: [EMAIL PROTECTED] o.in>cc: Subject: Re: session

Re: session error

2002-07-16 Thread Bhushan_Bhangale
] Subject: session error hi i've used session in my app. i putValue in session in login.jsp page after successfull login session.putValue("utype",utype); and in all other pages(like emp.jsp) i getValue. String utype = (String)session.getValue("utype"

Re: session error

2002-07-16 Thread Ritesh Gupta
Hi Vaishali, I dont think you should be getting a page not found due to the value being put in the session or being retreived from it. Are you able to access any page at all after the login page? What is the exact error code thrown on the browser ? Regards, Ritesh - Original Message

session error

2002-07-16 Thread Vaishali S. Pandya
hi i've used session in my app. i putValue in session in login.jsp page after successfull login session.putValue("utype",utype); and in all other pages(like emp.jsp) i getValue. String utype = (String)session.getValue("utype"); if (ut

Re: session from a different context

2002-07-16 Thread Hans Bergsten
ells out that the scope of a session is one application: SRV.7.3 Session Scope HttpSession objects must be scoped at the application (or servlet context) level. The underlying mechanism, such as the cookie used to establish the session, can be the same for different contexts, but the

Re: session from a different context

2002-07-16 Thread Robert S. Sfeir
PROTECTED]> wrote: > Hiren Dossani wrote: >> hello, >> >> i am setting a session attribute in a jsp page. the location of this jsp page >> is in webapps/base directory of the web server. >> >> i am not too sure if the same session attribute could be ret

Re: session from a different context

2002-07-16 Thread Hans Bergsten
Hiren Dossani wrote: > hello, > > i am setting a session attribute in a jsp page. the location of this jsp page is in >webapps/base directory of the web server. > > i am not too sure if the same session attribute could be retrieved in a servlet >which is in another cont

session from a different context

2002-07-16 Thread Hiren Dossani
hello, i am setting a session attribute in a jsp page. the location of this jsp page is in webapps/base directory of the web server. i am not too sure if the same session attribute could be retrieved in a servlet which is in another context. e.g. the servlet location is in webapps/esab/WEB

  1   2   3   4   5   6   7   8   9   10   >