473,325 Members | 2,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Q: Reponse.Redirect

Hello,
In my login screen I validate user against SQL table and call my main page
with Reponse.Redirect("myPage.aspx"); I see my application comes there but
does not switch to myPage.aspx, I used try catch, I see “Thread was being
aborted” error message, I know myPage.aspx is there because my old code
works, my login screen modification somehow created problem. Any Idea?
Thanks,

Nov 19 '05 #1
1 1167
Try -

Response.Redirect("myPage.aspx", false);

This tells the app not to call Response.End after redirecting.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:9A**********************************@microsof t.com...
Hello,
In my login screen I validate user against SQL table and call my main page
with Reponse.Redirect("myPage.aspx"); I see my application comes there but
does not switch to myPage.aspx, I used try catch, I see "Thread was being
aborted" error message, I know myPage.aspx is there because my old code
works, my login screen modification somehow created problem. Any Idea?
Thanks,

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: David GB | last post by:
If a page runnning in a frame does a redirect, the new page is loaded into the same frame. How do I do a redirect that 'looses' the frameset? In html, you can create a link with "target=_top"...
1
by: Simon Prince | last post by:
Hi I have an classic ASP page that contains nothing else but the following code... <%@ Language=VBScript %> <% Response.clear Response.redirect("/Intranet") %>
5
by: RayAll | last post by:
I have used a response.redirect() in the first page of my weblog to transfer it to anther page,but it seemes to be slow.Is there a workaround (probably Server.Transfer???)??? Thanks
7
by: savvy | last post by:
I able to redirect the user to the index.aspx page after every successful login, but I dont want certain pages outside the folder to have a access to general public. So if they click that...
15
by: KBuser | last post by:
I recently developed an internal website with various queries against our SQL server. I added buttons with Response.Redirect. These buttons do not work with Internet Explorer, however when using...
5
by: Steven Nagy | last post by:
Hi all, What are the major considerations when considering Server.Transfer? I have some legacy apps (when I say legacy, I mean ASP.NET1.0) that use Server.Transfer for almost everything. I...
1
by: Samuel Shulman | last post by:
Hi I am looking for a way to send a POST request using the Reponse.Redirect or any thing similar Thank you, Samuel
0
by: djtodd | last post by:
Is there any way to use reponse.redirect and provide network credentials for basic auth along with it to prevent the nt security dialog box when hitting the new server location? or, is there another...
1
by: jmk | last post by:
I'm trying to use an external SMS-service through .NET Framework 1.1 and using the webClient.DownloadData(strMessage) method. The strMessage is a string consisting the parameters to send a message,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shllpp 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.