Click here to Skip to main content
15,916,846 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Opening all Files within a folder using the FileBrowserDialog Pin
Mr Oizo30-Aug-07 9:02
Mr Oizo30-Aug-07 9:02 
QuestionSwitching to an active Application Pin
programmerwantabe30-Aug-07 4:34
programmerwantabe30-Aug-07 4:34 
AnswerRe: Switching to an active Application Pin
Dave Kreskowiak30-Aug-07 6:48
mveDave Kreskowiak30-Aug-07 6:48 
GeneralRe: Switching to an active Application Pin
programmerwantabe30-Aug-07 7:03
programmerwantabe30-Aug-07 7:03 
QuestionHai all Dynamic Developers.. Pin
Biswaranjan Maharana30-Aug-07 1:16
Biswaranjan Maharana30-Aug-07 1:16 
QuestionUse a PHP Webservice in VB.NET WinApp Pin
j5136p130-Aug-07 1:03
j5136p130-Aug-07 1:03 
AnswerRe: Use a PHP Webservice in VB.NET WinApp Pin
Naji El Kotob30-Aug-07 10:53
Naji El Kotob30-Aug-07 10:53 
GeneralRe: Use a PHP Webservice in VB.NET WinApp Pin
j5136p130-Aug-07 18:53
j5136p130-Aug-07 18:53 
Hello,

first thank you. But my problem is not resolved. I will show you some code to understand my problem.

First the Webservice in PHP (This is ReadOnly Code, i couldn't change it)

function securityCheck($userid = null, $password = null) {
global $server;

$auth = new Authentication();
if (isset($server->requestHeader['Session'])) {
session_id($server->requestHeader['Session']);
} else {
$error = $auth->Login($userid, $password);
if($error != "") {
return false;
}
}
return $auth->IsLoggedIn();
}
function login($userid, $password) {
if (!securityCheck($userid, $password)) {
return new nusoap_fault('Client','',"Invalid userid/password",'');
}
return session_id();
}
The Login works fine. But then i get a Session ID back and this id need to be set in every request. My Problem now is to set the requestHeader.Confused | :confused: Confused | :confused:

Client Code
Dim Proxy As 'ProxyClass = New ProxyClass() (Proxy Class is autogenerate by wsdl.exe from VS2005)
dim sessionid as String = Proxy.Login(user, pwd)
-------------------------------------------------
dim test as String = Proxy.OtherFunction
Here i get a exception 'No session startet'
GeneralRe: Use a PHP Webservice in VB.NET WinApp Pin
Naji El Kotob30-Aug-07 21:32
Naji El Kotob30-Aug-07 21:32 
Questionerror Pin
iain659429-Aug-07 23:54
iain659429-Aug-07 23:54 
AnswerRe: error Pin
Vimalsoft(Pty) Ltd30-Aug-07 0:17
professionalVimalsoft(Pty) Ltd30-Aug-07 0:17 
GeneralRe: error Pin
iain659430-Aug-07 1:10
iain659430-Aug-07 1:10 
GeneralRe: error Pin
Vimalsoft(Pty) Ltd30-Aug-07 1:55
professionalVimalsoft(Pty) Ltd30-Aug-07 1:55 
QuestionDataGridView Problem Pin
Matodzi29-Aug-07 23:51
Matodzi29-Aug-07 23:51 
AnswerRe: DataGridView Problem Pin
Vimalsoft(Pty) Ltd30-Aug-07 0:11
professionalVimalsoft(Pty) Ltd30-Aug-07 0:11 
AnswerRe: DataGridView Problem Pin
Naji El Kotob30-Aug-07 11:05
Naji El Kotob30-Aug-07 11:05 
GeneralRe: DataGridView Problem Pin
Matodzi31-Aug-07 0:39
Matodzi31-Aug-07 0:39 
Questionhow to display an image of size 7 mb in vb.net webform Pin
chiyankrishna29-Aug-07 23:19
chiyankrishna29-Aug-07 23:19 
AnswerRe: how to display an image of size 7 mb in vb.net webform Pin
SHatchard30-Aug-07 3:24
SHatchard30-Aug-07 3:24 
QuestionCustom Control Collection Pin
The ANZAC29-Aug-07 21:20
The ANZAC29-Aug-07 21:20 
AnswerRe: Custom Control Collection Pin
Tom Deketelaere29-Aug-07 21:35
professionalTom Deketelaere29-Aug-07 21:35 
GeneralRe: Custom Control Collection Pin
The ANZAC29-Aug-07 21:42
The ANZAC29-Aug-07 21:42 
GeneralRe: Custom Control Collection Pin
Tom Deketelaere29-Aug-07 21:54
professionalTom Deketelaere29-Aug-07 21:54 
GeneralRe: Custom Control Collection Pin
The ANZAC29-Aug-07 21:57
The ANZAC29-Aug-07 21:57 
GeneralRe: Custom Control Collection Pin
Tom Deketelaere29-Aug-07 22:22
professionalTom Deketelaere29-Aug-07 22:22 

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.