Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
5 subscribers
Views
1747 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Has anyone ever integrated with an ASP.NET application using cookies for authent
jamesw353
over 10 years ago
Has anyone ever integrated with an ASP.NET application using cookies for authentication? These cookies are returned in the HTTP header so the 'Send HTTP Request' node is not returning the data. Using a custom TCP socket plugin I'm able to get the cookie, but it's a messy operation. I'll also need to be returning this cookie on my subsequent requests and I'm also looking for the best way to handle that. If anyone has any advice on how to accomplish either of these tasks it would be greatly appreciated. ...
OriginalPostID-103566
OriginalPostID-103566
Discussion posts and replies are publicly visible
0
Colin Teubner
Appian Employee
over 10 years ago
The code for Send HTTP Request is included in the plugin if you want to extend it to output the headers from the HTTP response. I don't see any way you could get them with the plugin as it exists today.
As far as returning the cookie, the Send HTTP Request plugin does allow you to specify request headers so you should be able to include a cookie header there for your subsequent requests.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jamesw353
over 10 years ago
Thanks for the response. The product I'm integrating with comes with an IDK DLL. I found a blog post for calling the dll in java (
blog.mwrobel.eu/.../)
. The dll handles the cookies and a lot of the other leg work so I'm going to try porting the methods that I need into custom functions. This'll be a first for me so I'll update this post if it works.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Colin Teubner
Appian Employee
over 10 years ago
Keep in mind that functions should not have side effects because they may be executed multiple times by the system (almost the first line on
forum.appian.com/.../Custom_Function_Plug-ins)
. Not sure whether that applies to your plan but if anything is taking an action with permanent effects it should be wrapped in a Smart Service.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jamesw353
over 10 years ago
Excellent point. I'll probably have a blend of smart services and functions depending on their role and effects.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel