Hi there,
I'm working on Virtual World in HTML5/JS. And I've come across an error stating that the username and password code must be a string, is there anyway to not have to use a string and instead pass the parameters from a username and password input textbox to SFS as the username and password? Also, I'd like to say you guys should probably do a JavaScript client-side documentation as well to open the pathway up as Flash is dying.
Thanks, Zach.
Is there anyway to pass a....
-
- Posts: 204
- Joined: 22 Sep 2013, 23:33
Re: Is there anyway to pass a....
Sorry, your question is not very clear. Username and passwords ARE strings... what else should you send? Can you please clarify?
About the "JavaScript client side documentation", I suppose you are referring to the tutorials describing the examples we already provide. In this case we are currently working on them.
About the "JavaScript client side documentation", I suppose you are referring to the tutorials describing the examples we already provide. In this case we are currently working on them.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
-
- Posts: 204
- Joined: 22 Sep 2013, 23:33
Re: Is there anyway to pass a....
Bax wrote:Sorry, your question is not very clear. Username and passwords ARE strings... what else should you send? Can you please clarify?
About the "JavaScript client side documentation", I suppose you are referring to the tutorials describing the examples we already provide. In this case we are currently working on them.
Sorry Bax, I'm trying to take 2 input fields from an index.html file both of which are the username and password field, so I want SFS to use the input from those text boxes instead of using a straight username and password string. Does that make sense? And yes I meant the examples, that's great to hear you're working on them.
Re: Is there anyway to pass a....
Hi,
sorry but it doesn't
An Inputbox is a UI element that is rendered by the browser and can't be transmitted over the network. However the data contained the in the input box can be transmitted.
Makes sense?
sorry but it doesn't
An Inputbox is a UI element that is rendered by the browser and can't be transmitted over the network. However the data contained the in the input box can be transmitted.
Makes sense?
Re: Is there anyway to pass a....
I guess this is what you are looking for: https://stackoverflow.com/questions/115 ... javascript
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Return to “SFS2X HTML5 / JavaScript API”
Who is online
Users browsing this forum: No registered users and 52 guests