DaveP,
You could use the 'referer' header, eg.
String referedURL = request.getHeader(referer);
Note that the String is null if the header isn't present which usually
indicates that the user typed the URL in their browser.
Hope this helps!
--
Mike Fowler
Registered Linux user: 379787
I could
.
I've been experiencing the problem randomly for several months, but I
have been unable to pin down the cause or even more information about
the error to make a guess as to the cause.
Summary of configuration information:
Windows XP SP1 (not my choice :D )
Tomcat 5.0.19
Java 1.4.2_04
--
Mike
/outlook you revert to normal IE cookie store. Regrettably I
didn't find/look for a solution as the problem didn't affect me in any
serious way as it does you.
--
Mike Fowler
Registered Linux user: 379787
I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get
Ian -
HttpSession.invalidate() will cause the client's cookie to expire.
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it
Ian Stevens wrote:
I have a system which renders a session stored in the HttpSession unusable
once
}
path=${webapp_path}
war=${war_file}
update=true/
/target
Hope this helps!
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it
Sandeep Kang wrote:
Hi all,
I have been trying hard
Daniel,
I think the same goes for you. You are attacking the generosity and
kindness of the people on this list, and I think I speak for most of the
list when I say that you have crossed a line. Please make your future
posts constructive and refrain from flaming us.
-Mike Fowler
I could
You could use the session instance method setMaxInactiveInterval which
takes a single int paramter which is the maximum time in seconds between
client requests before invalidation.
For example, for ten minute timeout:
session.setMaxInactiveInterval(600);
-Mike Fowler
I could be a genius if I
/jHTP6/) for good general coverage, and for
detail both Java In A Nutshell
(http://www.oreilly.com/catalog/javanut4/) and Java Enterprise In A
Nutshell (http://www.oreilly.com/catalog/jentnut2/).
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do anything, if only I
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it
-
To unsubscribe, e-mail: [EMAIL
) file.length()); //length of file
//excute the statement
prestate.execute();
Hope this helps!
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round
Simone-
Have you tried copying the tools.jar into common/lib ?
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it
Simone-dev wrote:
Hello all,
I just installed Apache Tomcat/5.0.25 on my newly installed developing
of thought is the
reason why you're using Japanese mail server?
Good luck with your developers. Can I have the name of your company
plz? I'll make sure never to buy anything from it
No need to get personal, this is a debate not a slagging match.
-Mike Fowler
I could be a genius if I just put my
that the use of embedded
java can be poor implementation as it is all to easy to perform
operations that you shouldn't in a presentation tier.
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round
()
{
this.session.myHelperMethod();
}
Hope this helps!
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it
Trond Hersløv wrote:
Hi!
What do I have to do if want to use a modified HttpSession class? Can I do
one of the following
rather than deregister(ssoId);.
Thanks for helping me find this out as I now no longer need to use this
customisation!
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it
Summers, Bert W. wrote:
Looking at SingleSignOn
Bitte verwenden Sie Selbstantwort nicht für newsgroup. Sie wirft unsere
E-mail durcheinander.
-Mike Fowler
[EMAIL PROTECTED] wrote:
Ich werde ab 28.06.2004 nicht im Büro sein. Ich kehre zurück am
01.07.2004.
Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten
Ben-
You need to encode your URLs so that the session ID becomes part of the
URL. Use the second line for redirects.
httpServletResponse.encodeURL(/myapp/page2)
httpServletResponse.encodeRedirectURL(/myapp/page2)
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do
if the attribute is still there and if not, you know sessions are
disabled.
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it
Ben Bookey wrote:
Dear List,
I would like to check if a client has cookies/sessions enabled
I tend to agree and would advocate the use of URL encoding for all
stateful web-apps. However they have the drawback of making your URL
look something like:
http://localhost:8080/manager/html/list;jsessionid=C76172F9BD3E29A9AFDEBDA349F853DF
So you use cookies for tidy URLs.
-Mike Fowler
I could
Sorry, you're quite right it does remain on the server, I'm just being
silly. The session.setAttribute() works because the server is
remembering the session by the JSESSIONID which is now in the URL of the
request rather than in a cookie header being sent by the request.
-Mike Fowler
I could
of
non-standard IE extensions that make the page virtually unviewable for
me. Of course, trying to develop to cater to all these possibilities
does make life a lot more difficult that it may need to be!
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do anything
;
}
deregister(ssoId);
log(Deregistered.);
}
Hope this helps!
-Mike Fowler
I could be a genius if I just put my mind to it, and I,
I could do anything, if only I could get 'round to it
-
To unsubscribe, e-mail
PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Start Tomcat and go to the manager status web app. In the server
information table with there is a Tomcat version column.
On my box:
http://localhost:8080/manager/status
--
-Mike Fowler
I could be a genius if I just put my mind
23 matches
Mail list logo