c# - Can't read session variable value in ashx in Firefox? -


on login puttign user id in session variable next page sending request ashx. here issue cannot read session variable here , error message "object refrence not set instance of object". works fine in ie error accure in ff.

my ashx file implementing ireadonlysessionstate.

you need have on ashx file

public class loginauthentication : ihttphandler, irequiressessionstate 

since putting user id in session..


Comments

Popular posts from this blog

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -