I tried this
Active users
<%@ page language="java" import="java.sql.*"
%>
<%@ page
import="java.util.*"%>
<%@ page
import="javax.servlet.http.HttpSession.*"%>
<%
int i=0;
HttpSession
CID=request.getSession(false);
HttpSessionContext context=CID.getSessionContext();
Enumeration ids=context.g
Isn't there any way by which i could just count the no. of sessions. This
should just give me the number of active users if i set to kill my inactive
sessions using timeout.
vtr
V.T.R.Ravi Kumar
Engineer, ITX,
Bharat Heavy Electrical Ltd.,
===
Hi there,
Can someone help me with this ?
Through my JSP code I want to save the html page to my hard disk.I read
about Content-Disposition but could not implement that.Please help if if you can.
Thanking you in advance.
You can use application scope variable which will hold the logged in users
count.
i.e. When ever the user makes a successful log-in, you will update this
application scope counter. And when user log-out again its updated.
But when user closes the browser window using "x" button on top right
corne
Can anyone suggest a method by which i can find out how many users are
logged into my site at this time.
Any code is welcome.
regards,
vtr
V.T.R.Ravi Kumar
Engineer, ITX,
Bharat Heavy Electrical Ltd.,
=
Krodhad bhavati Sammoh
Cant depend on Sun or Microsoft to be non-biased.Would w triple c have some metrics we can look at???Thanks,
Martin Gainty
>
>I havn't got it.. but I'd love to hear about it if it exists.
>
> > To: [EMAIL PROTECTED]
> > Subject: Re: Java Platform
> >
> > I cannot agree with you more howve
Nicolas,
It's a lot simpler than that.
Always use a package for all your Java classes. Period.
Randall Schulz
Mountain View, CA USA
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest
I havn't got it.. but I'd love to hear about it if it exists.
> -Original Message-
> From: Andrew E. Young [SMTP:[EMAIL PROTECTED]]
> Sent: Friday,30 August 2002 11:20
> To: [EMAIL PROTECTED]
> Subject: Re: Java Platform
>
> I cannot agree with you more howver, there are far too ma
Dear All,
If anyone is interested, the UI-end technology designed by Sun, JSF -
JavaServer Faces has been released in its early access version:
The public draft of the JavaServer Faces 1.0 Specification has been
published today, as well as an early access download of the API's and
tag librar