on 08-14-2006 7:51 PM
Hi,
what have I to do to read the Session ID of the actual session. (Session concept ?)
Which libraries have to be included and how could be the code?
best regards
Mathias
Hi Mathias,
You could add the Catpcha on Logon Page?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mathias,
What kind if business scenario requires seesion ID on WD?
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maksim,
in the last view days, I implemented a passwording as graphic picture to enter my a page with answering a "captcha" ( or http://en.wikipedia.org/wiki/Captcha).
Jcaptcha generates an image which has to be read by the (human) user and typed into a input field to make shure that there is a human who uses the page (this page cannot use an usual authentification, because it is a free site for anybody - a user registration process site ).
To generate this image in a secure way it is recommended to give the framework the actual session id.
So, I`m thinking about to get this session id.
Can you help me?
best regards
Mathias
Hi,
yes I do.
I actually solved the problem with taking the servlet.jar in my library.
With that the command:
HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
HttpSession session = request.getSession(true);
String sessionId = session.getId();
...is possible.
regards
Mathias
Mathias, Actually I have a webdynpro Application with Captcha. I execute Jcapcha class and the application creates the images in the server, but it does not show the image in the image control. Could you explain to me how do you implement it?
Which object do you use to show the image?
Thanks in advance
Regards
Alexis
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.