on 09-16-2005 4:56 AM
Hi,
When i tried to get all cookies iam not able to see logon ticket.any help
HttpServletRequest request =((com.sap.tc.webdynpro.services.sal.adapter.core.IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
HttpServletResponse response =((com.sap.tc.webdynpro.services.sal.adapter.core.IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletResponse();
Cookie[] cookies = request.getCookies();
for ( int i=0; i<cookies.length; i++)
{
}
Hi sujesh,
Where can you find this HTTPServletRequest and HTTPServletResponse objects. I also trying same thing whether it works or not. But, i guess you have added aditional library files to work this.
Can you provide that information?
Thanks,
Bhavik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sujesh,
Have you checked authentication for your webdynpro application?
If yes, then it should show you first logon screen when you run your webdynpro application.And when you provide user information correctly it will create logon ticket with cookie name "MYSAPSSO2".
You can also check by writing on browser address bar following line: "javascript:document.cookie"
It will show all cookie information.
Regards,
Bhavik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.