I am using handler file to upload video but when using session its working in chrome but not in mozilla.
how to solve it??
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Riddhi ValechaRank #794 · 2.9K reputationPosted Feb 17, 2015, 2:46 AM EST
As far as my knowledge goes, development has nothing to do with the browsers.
If a code works fine on 1 browser (say IE), then it should work in Chrome and Mozilla.
All matters is the size or resolution and scripts.
Francis SusaimichaelRank #466 · 5.4K reputationPosted Feb 17, 2015, 10:02 PM EST
Khargesh RajputRank #616 · 3.9K reputationPosted Feb 17, 2015, 10:12 PM EST
but now remove sessionstate tag from web.config and still problem not solved
Francis SusaimichaelRank #466 · 5.4K reputationPosted Feb 18, 2015, 8:26 PM EST
Khargesh RajputRank #616 · 3.9K reputationPosted Feb 18, 2015, 8:28 PM EST
{
public void ProcessRequest (HttpContext context) {
context.Response.ContentType = "text/plain";
string filename = "";
string savepath = "";
if (context.Session["v_file"].ToString() != null)
{
filename = Convert.ToString(context.Session["v_file"]);
savepath = Convert.ToString(context.Session["directory"]);
}
context.Response.Expires = -1;
//code
}
}
Francis SusaimichaelRank #466 · 5.4K reputationPosted Feb 18, 2015, 11:30 PM EST
Khargesh RajputRank #616 · 3.9K reputationPosted Feb 18, 2015, 11:35 PM EST