You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Ramkrishna Swamy <ra...@gmail.com> on 2014/06/01 08:56:24 UTC

Re: Login issue

Hi James,

I cannot provide code to reproduce the problem. But I can provide code
snippet here: -

Javascript function: -
function submitForm(form) {
  var customerId = document.getElementById("customerId").value;
  if(customerId != null) {
   document.getElementById("customerIdHidden").value = customerId;
  }
      form.action="<@o...@ofbizUrl>";
    }

Form : -

<input type="submit" name="submit"
onclick="javascript:submitForm(document.form);" value="Submit">


I am not using any ajax request to submit the form. I am simply submitting
form in javascript function as above.






On Fri, May 30, 2014 at 10:57 PM, james_sg <sn...@hotmail.com> wrote:

> I suspect the problem could be similar to this
> https://issues.apache.org/jira/browse/OFBIZ-3862
>
> Are you able to provide some code to reproduce this problem?
>
>
> RamKrishna Swamy wrote
> > Hi James,
> >
> > I am using 12.04.02.
> >
> >
> > On Fri, May 30, 2014 at 1:14 PM, james_sg <
>
> > snowmedal@
>
> > > wrote:
> >
> >> which version of OFBiz are you using?
> >>
> >>
> >> RamKrishna Swamy wrote
> >> > Hi User,
> >> >
> >> > I have created a form and put a button to select some  values from
> >> another
> >> > page. After selecting value; if I try to click on the button to select
> >> > another value then I am logging out even if I am already logged in.
> >> First
> >> > time it works but second time of selection I am being logged out. I am
> >> > using MySql database. Any pointer would be of great help.
> >> >
> >> > --
> >> > Thanks
> >> > Ramkrishna
> >>
> >>
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >> http://ofbiz.135035.n4.nabble.com/Login-issue-tp4651158p4651258.html
> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >>
> >
> >
> >
> > --
> > Thanks
> > Ramkrishna
>
>
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Login-issue-tp4651158p4651279.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>



-- 
Thanks
Ramkrishna