Click here to Skip to main content
15,886,110 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: SqlDataReader Problem Pin
Richard MacCutchan16-Nov-09 21:15
mveRichard MacCutchan16-Nov-09 21:15 
AnswerRe: SqlDataReader Problem Pin
Abhishek Sur16-Nov-09 21:18
professionalAbhishek Sur16-Nov-09 21:18 
AnswerRe: SqlDataReader Problem Pin
dan!sh 16-Nov-09 22:10
professional dan!sh 16-Nov-09 22:10 
QuestionEmailing html page Pin
Ersan Ercek16-Nov-09 20:52
Ersan Ercek16-Nov-09 20:52 
AnswerRe: Emailing html page Pin
Abhishek Sur16-Nov-09 21:19
professionalAbhishek Sur16-Nov-09 21:19 
AnswerRe: Emailing html page Pin
sashidhar16-Nov-09 21:23
sashidhar16-Nov-09 21:23 
GeneralRe: Emailing html page Pin
Ersan Ercek16-Nov-09 21:45
Ersan Ercek16-Nov-09 21:45 
QuestionWebService Sessions Pin
Matt Cavanagh16-Nov-09 20:41
Matt Cavanagh16-Nov-09 20:41 
In my ASP.NET project I have some aspx pages and a webservice(asmx) which get called with ASP.NET AJAX. Now the aspx pages just check for session to get the logged in persons username(for relevant SQL calls) but I had trouble doing the same with my asmx file. I tried a couple different methods after searching but most results are for getting sessions in an ashx file, and the same principals dont work.
So what I did was create a public string in my webservice that, on logging in, the aspx page changed to the users name. But then when I checked username it was always just the last person that had logged in, for obvious reasons.

So how do I check for sessions in an asmx page?

Thanks alot Smile | :)

Strive to be humble enough to take advice, and confident enough to do something about it.

AnswerRe: WebService Sessions Pin
Eduard Keilholz16-Nov-09 22:08
Eduard Keilholz16-Nov-09 22:08 
AnswerRe: WebService Sessions Pin
Abhijit Jana16-Nov-09 23:51
professionalAbhijit Jana16-Nov-09 23:51 
QuestionApply them only in content page. Pin
pss.srinivasan16-Nov-09 20:09
pss.srinivasan16-Nov-09 20:09 
AnswerRe: Apply them only in content page. Pin
Christian Graus16-Nov-09 20:10
protectorChristian Graus16-Nov-09 20:10 
GeneralRe: Apply them only in content page. Pin
pss.srinivasan16-Nov-09 20:12
pss.srinivasan16-Nov-09 20:12 
GeneralRe: Apply them only in content page. [modified] Pin
sashidhar16-Nov-09 20:18
sashidhar16-Nov-09 20:18 
GeneralRe: Apply them only in content page. Pin
pss.srinivasan16-Nov-09 20:30
pss.srinivasan16-Nov-09 20:30 
GeneralRe: Apply them only in content page. Pin
sashidhar16-Nov-09 20:31
sashidhar16-Nov-09 20:31 
AnswerRe: Apply them only in content page. Pin
RajpootRohan16-Nov-09 20:20
professionalRajpootRohan16-Nov-09 20:20 
GeneralRe: Apply them only in content page. Pin
pss.srinivasan16-Nov-09 22:28
pss.srinivasan16-Nov-09 22:28 
GeneralRe: Apply them only in content page. [modified] Pin
RajpootRohan16-Nov-09 23:41
professionalRajpootRohan16-Nov-09 23:41 
QuestionAdvanced search .... Pin
RajpootRohan16-Nov-09 19:54
professionalRajpootRohan16-Nov-09 19:54 
AnswerRe: Advanced search .... Pin
Amit Patel198516-Nov-09 19:58
Amit Patel198516-Nov-09 19:58 
GeneralRe: Advanced search .... Pin
RajpootRohan16-Nov-09 20:04
professionalRajpootRohan16-Nov-09 20:04 
AnswerRe: Advanced search .... Pin
Amit Patel198516-Nov-09 20:23
Amit Patel198516-Nov-09 20:23 
AnswerRe: Advanced search .... Pin
Christian Graus16-Nov-09 20:09
protectorChristian Graus16-Nov-09 20:09 
GeneralRe: Advanced search .... Pin
RajpootRohan16-Nov-09 20:17
professionalRajpootRohan16-Nov-09 20:17 

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.