Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2005

Tip: Looking for answers? Try searching our database.

Session Variables in WSE 3.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pravin Patil - 14 Nov 2005 12:16 GMT
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
Signature

------------------------
Pravin Patil

Pablo Cibraro - 14 Nov 2005 13:55 GMT
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

> Hi,
>
[quoted text clipped - 13 lines]
>
> Pravin Patil
Pravin Patil - 14 Nov 2005 15:36 GMT
Thanks for quick response, Pablo.
Can you please suggest me a few sample/link where it has been implemented or
explained?

------------------------
Pravin Patil

> Hi Pravin,
> The secure context feature is a better way of implementing that.
[quoted text clipped - 33 lines]
> >
> > Pravin Patil
Pablo Cibraro - 14 Nov 2005 20:32 GMT
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

> Thanks for quick response, Pablo.
> Can you please suggest me a few sample/link where it has been implemented
[quoted text clipped - 46 lines]
>> >
>> > Pravin Patil

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.