Click here to Skip to main content
15,171,576 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: asp.net test setup Pin
ZurdoDev1-May-12 2:55
professionalZurdoDev1-May-12 2:55 
QuestionHelp with dynamic buttons Pin
Ubbi2330-Apr-12 3:54
MemberUbbi2330-Apr-12 3:54 
AnswerRe: Help with dynamic buttons Pin
Sandeep Mewara30-Apr-12 10:35
mveSandeep Mewara30-Apr-12 10:35 
AnswerRe: Help with dynamic buttons Pin
jkirkerx1-May-12 20:08
professionaljkirkerx1-May-12 20:08 
Questionredirect to the page that was previously visited Pin
hardik mer29-Apr-12 22:46
Memberhardik mer29-Apr-12 22:46 
AnswerRe: redirect to the page that was previously visited Pin
Rahul Rajat Singh29-Apr-12 23:40
professionalRahul Rajat Singh29-Apr-12 23:40 
GeneralRe: redirect to the page that was previously visited Pin
hardik mer30-Apr-12 8:13
Memberhardik mer30-Apr-12 8:13 
GeneralRe: redirect to the page that was previously visited Pin
hardik mer30-Apr-12 8:22
Memberhardik mer30-Apr-12 8:22 
HTML
Session["url1"] = url;
            string s = Request.QueryString["page"].ToString();
            if (Request.QueryString["page"].ToString() == null)
            {
                Session["s"] = Convert.ToString(0);
            }
            else
            {
                Session["s"] = Convert.ToString(1);
            }

        }
        if (b == true && Session["s"] == Convert.ToString(1))
        {
            Session["logintrue"] = "logintrue";
            Session["member_name1"] = member_nm;
            Session["member_email1"] = member_eml;
            Session["member_id1"] = member_id;
            string s = Request.QueryString["page"].ToString();
            Response.Redirect(s);
        
        }
        else if (b == true && Session["s"] == Convert.ToString(0))
        {
            Session["logintrue"] = "logintrue";
           Request.QueryString["page"].ToString();
            Response.Redirect("~/member.aspx");

        }
        else
        {
            lbl_error.Text = "Invalid email or password";
        }



condition is somthing like this... it lands to link stored in "s" which is the download page link, but it doesn't work when user directly lands to login.aspx
GeneralRe: redirect to the page that was previously visited Pin
jkirkerx30-Apr-12 12:58
professionaljkirkerx30-Apr-12 12:58 
AnswerRe: redirect to the page that was previously visited Pin
rakesh@bbspl.com1-May-12 22:21
Memberrakesh@bbspl.com1-May-12 22:21 
Questiondownload tweets using user ID Pin
hosseinDolat29-Apr-12 7:59
MemberhosseinDolat29-Apr-12 7:59 
AnswerRe: download tweets using user ID Pin
Richard MacCutchan30-Apr-12 0:05
mveRichard MacCutchan30-Apr-12 0:05 
QuestionShowing images from DB Pin
candogu29-Apr-12 6:42
Membercandogu29-Apr-12 6:42 
AnswerRe: Showing images from DB Pin
Ali Al Omairi(Abu AlHassan)29-Apr-12 21:24
professionalAli Al Omairi(Abu AlHassan)29-Apr-12 21:24 
Questionasp.net Pin
gunjan adhikari29-Apr-12 4:16
Membergunjan adhikari29-Apr-12 4:16 
AnswerRe: asp.net Pin
Wes Aday29-Apr-12 4:32
professionalWes Aday29-Apr-12 4:32 
AnswerRe: asp.net Pin
Sandeep Mewara29-Apr-12 8:41
mveSandeep Mewara29-Apr-12 8:41 
Questionasp.net Pin
gunjan adhikari29-Apr-12 4:12
Membergunjan adhikari29-Apr-12 4:12 
AnswerRe: asp.net Pin
Wes Aday29-Apr-12 4:32
professionalWes Aday29-Apr-12 4:32 
AnswerRe: asp.net Pin
Sandeep Mewara29-Apr-12 8:43
mveSandeep Mewara29-Apr-12 8:43 
AnswerRe: asp.net Pin
ZurdoDev30-Apr-12 11:41
professionalZurdoDev30-Apr-12 11:41 
Questionavoid running function in page load event of user control inside a page with in master page Pin
uglyeyes29-Apr-12 3:23
Memberuglyeyes29-Apr-12 3:23 
AnswerRe: avoid running function in page load event of user control inside a page with in master page Pin
Rahul Rajat Singh29-Apr-12 23:44
professionalRahul Rajat Singh29-Apr-12 23:44 
GeneralRe: avoid running function in page load event of user control inside a page with in master page Pin
uglyeyes30-Apr-12 3:37
Memberuglyeyes30-Apr-12 3:37 
GeneralRe: avoid running function in page load event of user control inside a page with in master page Pin
uglyeyes3-May-12 17:43
Memberuglyeyes3-May-12 17:43 

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.