Forum Discussion
Brian_Schroeder
Nimbostratus
Jun 23, 2006Redundant authentication
Hi, I'm coding an app to grab both statistics and performance data from a device. Since I'm using C, this involves my use of both SystemSystemInformation.cs and LocalLBVirtualServer.cs, among other files. In order to work with either of these classes as is, I have to separately pass credentials and the URL to both of them -- seemingly connecting to the same device twice, just because I want slightly different data. Does this add a lot of overhead? I want to keep pretty efficient.
Do you have any tips, if it would be better to authenticate only once, of how I could consolidate code from these two different libraries? It doesn't seem trivial to me. ...Or anything else I've failed to consider?
Thanks,
Brian
- David_Los_23059
Nimbostratus
I know this is a bit off topic from your post, but I was wondering if you would be able to maybe post or share your C code. I am starting to work with an f5 and would love to be able to see some examples for version 9. - As far as I know there is no way to share HTTP connection information across different classes. I wouldn't worry about it though as all each really is is a separate HTTP connection. Look at all the different HTTP connections your browser makes when hitting a website.
- Posted By djlos on 6/26/2006 6:48 AM
- Brian_Schroeder
Nimbostratus
Joe- - David_Los_23059
Nimbostratus
Yea I was looking at some of the codeshare and the demo that you did actually for using Visual Studio. But I just was wondering if you did an updated version of that simple/sample app using the version 9 sdk.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects