Re: Session Variables in WSE 3.0



Sure, you can find a good sample in the WSE quickstarts.

[WSE Installation
folder]\v3.0\Samples\CS\QuickStart\Security\SecureConversation

Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
http://www.lagash.com


"Pravin Patil" <pravintp@xxxxxxxxxx> wrote in message
news:E70B197D-EDF6-4920-A574-F4568FFDA9FB@xxxxxxxxxxxxxxxx
> Thanks for quick response, Pablo.
> Can you please suggest me a few sample/link where it has been implemented
> or
> explained?
>
> ------------------------
> Pravin Patil
>
>
> "Pablo Cibraro" wrote:
>
>> Hi Pravin,
>> The secure context feature is a better way of implementing that.
>> It was designed to avoid sending the username token everytime. This
>> feature
>> works as I will describe below:
>>
>> 1. The client sends the username token to the service, and they negotiate
>> a
>> secure context session.
>> 2. The client receives a secure contex token from the service, which can
>> be
>> used to protect the communication during that session.
>>
>> You can enable this feature setting the "establishSecurityContext"
>> attribute
>> to true.
>>
>> <usernameForCertificateSecurity establishSecurityContext="true" .....>
>>
>> Regards,
>> Pablo Cibraro
>> http://weblogs.asp.net/cibrax
>> http://www.lagash.com
>>
>> "Pravin Patil" <pravintp@xxxxxxxxxx> wrote in message
>> news:14824A2D-21B9-455A-A977-69FF7F45AC1B@xxxxxxxxxxxxxxxx
>> > Hi,
>> >
>> > I got many webmethods in my web service.
>> > My client app will access the Web Service and try to execute
>> > webmethods.
>> >
>> > I do not want to pass user creditials like username, password and other
>> > details everytime.
>> >
>> > When user first time access the web service,
>> > can I create Session variables for that user? And access these session
>> > variables everytime client application access any of the webmethods of
>> > this
>> > web services?
>> >
>> > Regards,
>> >
>> > Pravin Patil
>> > --
>> > ------------------------
>> > Pravin Patil
>>
>>
>>


.



Relevant Pages

  • Re: I dont think I can do that !
    ... Regards, ... >> Hi DaveP, ... you can do the same on the proxy class for the web service. ... >> Pablo Cibraro. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: WSE2 - SoapException
    ... Have you enabled the setting "DetailedErrors" in the web service ... configuration file ?. ... Regards, ... Pablo Cibraro ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: sharing session between application and web service
    ... regards. ... session value set in a web form inside a web service call. ... I mean I have a web form with a list of orders for a given customer ... I just cannot get that session value.... ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: 401 Access Denied while accessing WSE 3.0 WebService
    ... I granted Full Control to ASPNET account to both the folder and to ... Regards, ... "Pablo Cibraro" wrote: ... EventArgs e) ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: 401 Access Denied while accessing WSE 3.0 WebService
    ... I granted full control to ASPNET to both the folder and Service.asmx. ... Regards, ... "Pablo Cibraro" wrote: ... EventArgs e) ...
    (microsoft.public.dotnet.framework.webservices.enhancements)

Loading