web services, basic authentication logout

  • Thread starter Thread starter Florian Lutz
  • Start date Start date
F

Florian Lutz

hello,

i have a ppc/netcf v1 application that gets data from a webserver
running iis5. I set it up to use basic authentication over ssl. then I
use netcredentials to set my user and password. now I can get data
fromt the webservice.
the trouble start when i reconnect with different credentials. no
matter what I set as user&pass in the netcredentials (and reassigning
them), I can always receive data from the webservice.
Is this a bug? if i restart the application everything works as
expected.
I am clueless :)


cheers,

florian
 
I'm not really sure exactly what you are wanting to do, however, you need to
make sure you have a method to log the user out. Or to time the login out
if they were to leave. I would imagine that your client app, or some other
process is maintaining the login information. For example: Open IE and go
to a site that requires a login. Now open another copy and go to the same
site. The second browser will allow you to pass right through because the
first browser is holding your information for your login.

not sure what your scenario is so this may not at all be your problem...

good luck,

glenn
 
thats my problem. how do i get rid of the logon credentials without
restarting the application? how do i create a logout method?

thanks

florian
 
Back
Top