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 |
Hi List,
I found below discussion in markmail and it seems still there is no fix. I read one discussion on markmail and someone was suggesting to set cookie.domain in url.properties; but that also did not work. I am still frequently being asked to login again and again. http://markmail.org/search/?q=login+issue+in+ofbiz#query:login%20issue%20in%20ofbiz%20list%3Aorg.apache.ofbiz.user+page:12+mid:d5w247f255zy6a3m+state:results Can anyone suggest how to handle the problem. On Thu, May 22, 2014 at 10:47 PM, Ramkrishna Swamy < [hidden email]> 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 > -- Thanks Ramkrishna |
In reply to this post by RamKrishna Swamy
which version of OFBiz are you using?
|
Hi James,
I am using 12.04.02. On Fri, May 30, 2014 at 1:14 PM, james_sg <[hidden email]> 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 |
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?
|
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="<@ofbizUrl>submitRequest</@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 <[hidden email]> 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 |
Free forum by Nabble | Edit this page |