Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Services (http://www.velocityreviews.com/forums/f64-asp-net-web-services.html)
-   -   Session Variables and Webservices (http://www.velocityreviews.com/forums/t787842-session-variables-and-webservices.html)

Urgent help for ajax while hosting site 03-25-2009 06:42 AM

Session Variables and Webservices
 
Hi,
I have a 1st project with a aspx page .I have set a session variable in
it.Now I want to access this session variable in a webservice kept in a 2nd
project. I have added a webreference of the webservice in my 1st project.How
can I access the session variable in the webservice.

Waiting for reply,
Anurag Vardhan

Mel Weaver 03-25-2009 08:03 PM

Re: Session Variables and Webservices
 
You can not directly, you would have to pass it in with a call to the
webservice

"Urgent help for ajax while hosting site"
<Urgenthelpforajaxwhilehostingsite@discussions.mic rosoft.com> wrote in
message news:BCFA4165-79F7-43F6-80A8-4428B1176057@microsoft.com...
> Hi,
> I have a 1st project with a aspx page .I have set a session variable in
> it.Now I want to access this session variable in a webservice kept in a
> 2nd
> project. I have added a webreference of the webservice in my 1st
> project.How
> can I access the session variable in the webservice.
>
> Waiting for reply,
> Anurag Vardhan





All times are GMT. The time now is 02:07 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57