aspose file tools*
The moose likes Other Application Frameworks and the fly likes Login issue with IE browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Login issue with IE browser" Watch "Login issue with IE browser" New topic
Author

Login issue with IE browser

nikhil mahto
Greenhorn

Joined: Mar 04, 2012
Posts: 9
Hi,

I am using Stripes f/w for my login form, and for every incorrect login, the counter attribute is increased by 2 in OID. This happens only for IE browser and works fine(counter increased by1) for FF and Chrome. When i checked the log, I found that 2 requests are made when using IE and the action associated with the Stripes:submit button is executed twice. I am also invoking a javascript function on Submit button click, which submits the login form.

I don't click the button twice. The same happens when I press the Enter key.

The IE HttpHeader is :


POST /abc/xyz.action HTTP/1.1
Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*
Referer: https://server/abc/xyz.action
Accept-Language: en-au
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; Release=ARP)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: orkxstg4pweb01.espdev.aurdev.national.com.au
Content-Length: 325
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: bharosa=4_4c3702de2ef3ed381778cf93e83c36013e990cb5607fa52ffd3c29a1e50e6cd1; OAMAuthnCookie_orkxstg4pweb01.espdev.aurdev.national.com.au:80=loggedoutcontinue; OAMAuthnCookie_orkxstg4pweb01.espdev.aurdev.national.com.au:443=ASYZKdP%2FMIdYtvlie1z7C3q1fJqqL2HoMTpdcPxo5hQJUqdg9adIL7jKiuFGXNtDggynWsU0yIrb5MYtW5KHf9u2iNn645Eui2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ae606aa23bd90c43c2ca44f89

username=meme@b.com&password=u1khp8vk&group=UBank&clientOffset=10&targetUrl=&targetUrl=&brand=ubank&channel=web&inFrame=false&requestId=6395432768633168542&token=bc3ee5b3-fa01-4ad7-8d0d-da7b33b3de39&Login=Login&targetUrl=&targetUrl=&supportsJS=true&portalPageFlag=&_sourcePage=s7xS5V3La9C2c6cQhMoGDA%3D%3D&__fp=v5epP7pGyS8%3D

POST /abc/xyz.action HTTP/1.1
Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*
Referer: https://server/abc/xyz.action
Accept-Language: en-au
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; Release=ARP)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: orkxstg4pweb01.espdev.aurdev.national.com.au
Content-Length: 325
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: bharosa=4_4c3702de2ef3ed381778cf93e83c36013e990cb5607fa52ffd3c29a1e50e6cd1; OAMAuthnCookie_orkxstg4pweb01.espdev.aurdev.national.com.au:80=loggedoutcontinue; OAMAuthnCookie_orkxstg4pweb01.espdev.aurdev.national.com.au:443=ASYZKdP%2FMIdYtvlie1z7C3q1fJqqL2HoMTpdcPxo5hQJUqdg9adIL7jKiuFGXNtDggynWsU0yIrb5MYtW5KHf9u2iNn645Eui2FEniObx7ZBfJ0OGYwn%2FZHihAo2PA%2FpDhgHorPaEANlr1SJT67tKAbMwPSbN4wLsSYlQMIyeXStMUnSPoQ3ArYfIyhLEcEx4HOK3x70zJI5jfQPPT1a0nKAdo1cN34ex2Y6%2B8KvaVNRan961ea8gLpoC0MiPL49; OAM_REQ=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2IdGDfFObtw4OzE2Ri6iczjZZhkHi0BTof3NX/JEzycWTn89vLOqlZne52vixrQvREKnpn0uWN7mGSeeEABS6MArWIjq2jYxKc7mUKhGr2NYoaxzopmDMzXloY5+ALjAYG+wD5G0v5Mjr/GIJBQa46Mw+zNvARRDPbp2lIZvRjVMKsCByYJgagcMK1CZXOD733ghJ0L6BsH2FzAHmOAhFR9dlFPScRgkXA0UFbwDa0M7IyZIXVCAicAHCvoomVfSR8y7D+C3BX582oi8B7hsu3MRyQ6VObrco+jczxXafrMmSe23mGQ3QsnjcvipLBcu6WZ7WOdlFyhfzvu8t/3HLEhiwyEc3Urdyn1T23KXZIwlD2w4tXc8t/CsE01vtu4Cl6vVM2kGm7P8Ub/cV7kpId2K2nVitLvEFgzUSFWfRwSNxNS0MQP07BJ9ki624a2bq0cKW2WjAK1yF2YWUmdHBFzMPYh1Rle+0FDCn4PzINiiF8lWy2MI/eE3p3VUlECa/0/PI4tcQqkjsQtdyYOnoQ2zW7iHo6Al3Ne63ljFALbvfcRCaNAJLy107WsyANtytuuf1E4DAZi//+JayR/qynHChgELepQriSUZ4icAPDYItONYacaEm7bWATQmhhWyAQZaNoC4w5nlnEOUjHl92xaAa78YE5fSoNUAyBXvQs1+SbCePw/rprtCUsQ/QquftHml98HuivHRG5WclEKLhEjZHyKbkbGoSKWkmvNVi4HuY2QywRX5PaiddA2KdhvxxbsmzZ5Dpv2x4isTe8lW4pWmCCo6hketqV/pInig==; NAGAuthnSessionID=wy2GPT3fyTPNHNvJPgwYXwjBlG2XM0NwBvK19JtTdpx3Rp590qQ3!-624659584; oaamsessionid=0_646a9c41c984e3fec78d13d53b9f6d38f34e4a3ae606aa23bd90c43c2ca44f89

username=meme@b.com&password=u1khp8vk&group=UBank&clientOffset=10&targetUrl=&targetUrl=&brand=ubank&channel=web&inFrame=false&requestId=6395432768633168542&token=bc3ee5b3-fa01-4ad7-8d0d-da7b33b3de39&Login=Login&targetUrl=&targetUrl=&supportsJS=true&portalPageFlag=&_sourcePage=s7xS5V3La9C2c6cQhMoGDA%3D%3D&__fp=v5epP7pGyS8%3D

HTTP/1.0 200 OK
Date: Wed, 06 Jun 2012 01:55:41 GMT
Server: Oracle-Application-Server-11g
Cache-Control: no-cache
Pragma: no-cache
Set-Cookie: oaamsessionid=3_add941f908b8adbcf5f005becde424e3fa2a716a67120d0f18cf956b110fa884; domain=.espdev.aurdev.national.com.au; path=/
X-ORACLE-DMS-ECID: 004kSGGY1lV5yWe_x_O5yW00016V0003v2
Content-Language: en,en-au
X-Powered-By: Servlet/2.5 JSP/2.1
Vary: Accept-Encoding
Content-Encoding: gzip
X-UA-Compatible: IE=9; IE=8;
Cache-Control: max-age=2592000, public
Surrogate-Control: max-age=2592000
Connection: close
Content-Type: text/html; charset=UTF-8

Please suggest how to prevent this. Thanks in advance for your help.

Regards,

Nikhil
Joel Wellington
Greenhorn

Joined: Jun 16, 2012
Posts: 1
The NagAuthn application is extremely complex. However authentication is done using the OAM API and the OID counter I believe is either set manually through an LDAP update or through a connection to OAM, in which case the OAM authentication is being called twice. It looks as though the logged out behaviour of OAM is causing some issues - possibly with IE not voiding some cookies. PM me if you like.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Login issue with IE browser
 
Similar Threads
<input type="submit" ...> issue on Safari
Unable to submit form in single click
IE vs Firefox session issues
IE submit duplicated request (randomly) and Weblogic throws "Connection reset by peer..." exception
JavaScript and IE 7 issue