Below is my rule, when i replace $2 with '=' my code works. I know by default all literal tokens uses their ascii value (hence why multi character token require a definition)
The below doesnt work. The function is called with 0 instead of '=' like i expect. is there an option i can set? (It doesn't appear so via man pages)
AssignExpr: ...
Hi All,
I have contact management / CRM application used in-house by our company, It is a web based app and thus uses a lot of Ajax. Most of the data is JSON, and the backend server uses PHP with MySQL as the database...
I would like to build a mini Adobe Air version of that, mostly because I can use Drag and Drop file uploads, client...
Hi. I'm working on an RIA in PHP. To try to prevent session hijacking I introduced a token, generated at login, based off a salt, ISO-8601 week number and the user's IP.
$salt = "blahblahblah";
$tokenstr = date('W') . $salt . $_SERVER['REMOTE_ADDR'];
$token_md5 = md5($tokenstr);
define("token_md5", $token_md5);
Currently, it's...
I'm looking for a very easy and quick way to generate some SAML assertions. This is only going to be used for testing (using SOAP UI). So I just need something that can generate a valid assertion, signed or unsigned, that I can then drop into SOAPUI and send off to my Web Service. I know how to add the assertion to the SOAP message and a...
I am creating a website which will contain both ASP.NET pages and a Flash applet. I want to encapsulate my business logic in a WCF service which will be exposed through two endpoints: One accesssible over the Internet through HTTP(S), for use by the Flash client, and one accessible within the data center for use by the application serv...
I have a sql statement like this:
DECLARE @MyVariable as varchar(50)
SET @MyVariable = $(TokenValue)
In this the $(TokenValue) will fill in a value from a form (ignore how it's doing it, it's not important, just that if there's a value in the field it relates to it'll get filled in there). If The field in the form was left blank howev...
I am trying to login to Google maps data API (get MyMaps) with wininet and delphi but always recevied response: Invalid Token.
I have gotten auth toke with wininet HTTPS call.
What's the problem ?
Please help.Here a example code :
ServerURL='maps.google.com';
pathURL='/maps/feeds/maps/default/full';
headers='Authorization: Googl...
I am developing a commercial Silverlight application with the new Bing Maps control (Version 1.0), and so far I have not been able to find any answers on how to associate transactions with my Bing Maps developer account. I know the control is not free to use for commercial purposes, so there must be a way for me to give it a Bing Maps to...
I am receiving the error: "XML Parsing Error at 1:1496. Error 4: not well-formed (invalid token)" on all pages of a Joomla install. Not sure exactly when the error started but it was working before. I have recently installed SOBI2 and 4RSS components, however when I disable or uninstall them the error still shows up.
Joomla Version 1.5....
I am trying to process an rss url, but is giving me an error as
"'--' is an unexpected token. The expected token is '>'. Line 81, position 5."
when i look at the source it has a value "Knowledge@Wharton -- Innovation and Entrepreneurship" in the middle of the xml node.
How can i process this url and ignore that error.
Public Shared Fu...
I tried to call a service using a for loop and it seems that only the first service call seems to work. My guess is that once a service is called it needs to wait until result event until it can be called again. How can I workaround this?
Waiting for each service to complete before querying for another is too slow.
Ex.
callresponder ...
I put together a quick WinForm/embedded IE browser control which logs into our company's bank website each morning and scrapes/exports the desired deposit information (the bank is a smallish regional bank). Since we have a few dozen "pseudoaccounts" that draw from the same master account, this actually takes 10-15 minutes to retrieve. ...
I wrote this:
(fitness>g.fitness) ? return 1 : return -1;
and received the following error:
Syntax error on tokens, label expected instead.
Can anyone explain what tokens and labels are in this context?
Edit: Thanks for fixing my code, but could you explain anyway what tokens and labels are, for future reference?
...
I have the following problem. I have defined a macro, \func as follows
\newcommand{\func}[1]{% do something with #1
X #1 Y
}
I now want to define another macro
\newcommand{\MyFunc}[1]{
% parse #1 and if it contains "\func{....}", ignore all except this part
% otherwise ignore #1
}
Can someone tell me how to implement \MyFunc
...
This should be a simple one. I had another codebase that this worked but for some reason it wont work here at all. My file will.txt is unmodified.
Here is an exerp from my ant build file ..
Any ideas Ive wasted hours already banging my head trying to get it to work.
<loadfile
property="config.update.list"
srcFile="config....
I'm looking for a method or current API that allows you to add on tokens to web app requests.
Maybe within the session but not persisted.
Or if you could help me by outlining an efficient method for doing this
E.g.
1. GET request => Servlet generates a token and prints it in the view
2. returns a view with a hidden token
<input typ...
I am hoping to build an IDE in javascript that behaves much like gmail except the style will change automatically based on what they type as they type. The logic for this isnt where im struggling. Its how gmail achieves the ability to edit in a rich edit format in html. As far as I know the textarea control does not work this way, so how...
I'm a learner working on a login script. This is the form token statement that I have so far:
$_SESSION [ "form_token" ] = md5 ( rand ( time (), true ) ) ;
The statement is issued just after the user indicates that he/she wants to login.
My limited understanding is that its purpose is to identify a unique user at a unique point in t...
Hi all!
Someone could explain me how the USB token works?
I have to implement that secure layer in a java application, but i don't know very well how it works!
I know only the mecanism of a normal token key generator!
Thanks a lot!
...
Hello,
I'm creating a smart client application using .NET 3.5. A Winforms client connecting through WCF services to retrieve data from SQL Server 2008. I need to pass a username/password (encrypted and over HTTPS) and return information such as:
Is this user (e-mail address) under a current subscription
What server should we go to ne...