This topic is locked

Send Parameters From jsp to php rruner

7/1/2011 7:04:26 PM
PHPRunner General questions
T
transam author

Hi
my question is ?
y have a aplication whit phprruner i need to edit some user profiles i need to send from jsp the login parameters to edit.php
but i don,t have idea
thanks
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=17275&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' />

C
cgphp 7/1/2011

Hi transam,
you can make an ajax request from your jsp app, after the login succeeds, to a php custom page.
On that page you'll set some php session var with the login credetials and then you'll redirect the user to the edit.php page.
I'm considering that jsp and php pages are in the same domain. In jquery 1.5 was added the "crossDomain" boolean property to get around this limitation.