What's new
Carbonite

South Africa's Top Online Tech Classifieds!
Register a free account today to become a member! (No Under 18's)
Home of C.U.D.

Ajax post to .net webmethod not allowing to set session variable on server side?

D3TTOL

VIP
VIP Supporter
Rating - 100%
19   0   0
Joined
Jun 12, 2015
Messages
5,561
Reaction score
3,671
Points
10,735
Location
The land of the Nether
Hello peepoles

I'm not a javascript nerd, nor have I really ventured into it.
I wanted to take a variable that I fetch from some integrated widget and pass it through to the .net backend without using a onclick event so I tried to use ajax and though I got it to hit the webmethod it didn't allow me to set a session variable server side.

So I currently have a much simpler method of putting a query string on the url and redirecting and then having the next page handle the variable server side.

I was just wondering if any javascript gurus have any wisdom to bestow on me with regards to ajax posts and webmethods not allowing to set a session variable
 

Users who are viewing this thread

Back
Top Bottom