Click here to Skip to main content
15,914,795 members
Home / Discussions / Web Development
   

Web Development

 
GeneralWhat Robert Frost DIDN'T say... Pin
Dan Neely4-Aug-08 4:27
Dan Neely4-Aug-08 4:27 
GeneralRe: What Robert Frost DIDN'T say... Pin
Ennis Ray Lynch, Jr.4-Aug-08 4:29
Ennis Ray Lynch, Jr.4-Aug-08 4:29 
QuestionHow to insert some text at curson position in javascript Pin
sid.shankar3-Aug-08 21:04
sid.shankar3-Aug-08 21:04 
AnswerRe: How to insert some text at curson position in javascript Pin
Perspx4-Aug-08 0:36
Perspx4-Aug-08 0:36 
QuestionBackground Div Problem Pin
Matt Cavanagh3-Aug-08 20:54
Matt Cavanagh3-Aug-08 20:54 
AnswerRe: Background Div Problem Pin
Perspx4-Aug-08 0:30
Perspx4-Aug-08 0:30 
Questionanother problem with IE7 and Opera Pin
Nika Asgari3-Aug-08 18:57
Nika Asgari3-Aug-08 18:57 
QuestionHow to logout from a webservice? Pin
Member 43413802-Aug-08 23:32
Member 43413802-Aug-08 23:32 
Hello everybody,

I've written an webservice and a webapplication. The WebService uses "integrated windows-authentication", so I set
WebService.Credentials = new NetworkCredential("username", "pwd");
If I don't, I get an HTTP-Status 401 (AccessDenied). That's all fine and everything works. But now I want to implement an "Logout-Button". The Logout-Function looks like:
// Calls the selfmade webservice logout-function which looks like:
// {Session.Clear(); Session.Abandon(); Application.Clear();}
WebService.Logout();

Session.Clear();
Session.Abandon();
Application.Clear();
ViewState.Clear();
After calling the Logout-Function I expected, that I'm logged off from the WebService and I expected to get a HTTP-Status 401, when im calling an other webservice function. But I don't! No AccessDenied message. The WebService is still working under the UserContext I set with
WebService.Credentials = new NetworkCredential("username", "pwd")
Then I added the line
WebService.Credentials = null;
to the Logout-Function. But it doesn't solve the problem.

Is anybody out there who can help me.
AnswerRe: How to logout from a webservice? Pin
Member 43413803-Aug-08 13:38
Member 43413803-Aug-08 13:38 
Questionthe problem with html css overflow [modified] Pin
Nika Asgari2-Aug-08 21:10
Nika Asgari2-Aug-08 21:10 
AnswerRe: the problem with html css overflow Pin
Guffa2-Aug-08 23:25
Guffa2-Aug-08 23:25 
QuestionRe: the problem with html css overflow Pin
Nika Asgari2-Aug-08 23:57
Nika Asgari2-Aug-08 23:57 
AnswerRe: the problem with html css overflow Pin
Nika Asgari2-Aug-08 23:59
Nika Asgari2-Aug-08 23:59 
AnswerRe: the problem with html css overflow Pin
Perspx3-Aug-08 1:23
Perspx3-Aug-08 1:23 
GeneralRe: the problem with html css overflow Pin
Nika Asgari3-Aug-08 19:00
Nika Asgari3-Aug-08 19:00 
GeneralRe: the problem with html css overflow Pin
Perspx4-Aug-08 0:36
Perspx4-Aug-08 0:36 
QuestionHow can I do this? Pin
Mohammad Dayyan2-Aug-08 10:52
Mohammad Dayyan2-Aug-08 10:52 
AnswerRe: How can I do this? Pin
Perspx2-Aug-08 11:03
Perspx2-Aug-08 11:03 
GeneralRe: How can I do this? Pin
Mohammad Dayyan2-Aug-08 11:08
Mohammad Dayyan2-Aug-08 11:08 
QuestionDownload Problem(Multi user support ) Pin
Mri1a1-Aug-08 21:07
Mri1a1-Aug-08 21:07 
AnswerRe: Download Problem(Multi user support ) Pin
Johnny ²1-Aug-08 22:30
Johnny ²1-Aug-08 22:30 
GeneralRe: Download Problem(Multi user support ) Pin
Mri1a2-Aug-08 0:33
Mri1a2-Aug-08 0:33 
GeneralRe: Download Problem(Multi user support ) Pin
Perspx2-Aug-08 0:55
Perspx2-Aug-08 0:55 
AnswerRe: Download Problem(Multi user support ) Pin
Paul Conrad2-Aug-08 5:39
professionalPaul Conrad2-Aug-08 5:39 
GeneralRe: Download Problem(Multi user support ) Pin
Mri1a3-Aug-08 17:36
Mri1a3-Aug-08 17:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.