Embed param in querystring for all calls?

23 views
Skip to first unread message

FruitBatInShades

unread,
Mar 9, 2012, 10:55:01 AM3/9/12
to Jayrock
I am trying to add some jayrock functionality to an existing system
and have a problem. The system uses a GUID in the querystring which is
used to identify different tabs in the same browser. When I call a
JsonRpcHandler in javascript e.g.

var s = new JsonHandlerPage();

The system keeps bouncing the request to the login page. How can I
pass in the GUID into the handler? Can I add it in the constructor:

var s = new JsonHandlerPage(MyGuid);

or force it to pass in the url that the handler interface will call
when it calls each method?

Atif Aziz

unread,
Mar 30, 2012, 11:55:04 AM3/30/12
to jay...@googlegroups.com
Is JsonHandlerPage a JavaScript proxy generated by Jayrock? If so, you can pass the URL of the service with the GUID query parameter to the constructor. For example:


Calls should then be made using that URL.

- Atif


--
You received this message because you are subscribed to the Google Groups "Jayrock" group.
To post to this group, send email to jay...@googlegroups.com.
To unsubscribe from this group, send email to jayrock+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jayrock?hl=en.


Reply all
Reply to author
Forward
0 new messages