Click here to Skip to main content
11,715,043 members (69,010 online)
   

ASP.NET

 
AnswerRe: .net question Pin
Sandeep Mewara25-Dec-12 19:33
mvpSandeep Mewara25-Dec-12 19:33 
QuestionWebRequest Pin
cdpsource21-Dec-12 14:16
membercdpsource21-Dec-12 14:16 
Questionwebpage has resulted in too many redirects Pin
Jassim Rahma21-Dec-12 9:46
memberJassim Rahma21-Dec-12 9:46 
AnswerRe: webpage has resulted in too many redirects Pin
jkirkerx22-Dec-12 18:50
memberjkirkerx22-Dec-12 18:50 
GeneralRe: webpage has resulted in too many redirects Pin
Jassim Rahma23-Dec-12 8:36
memberJassim Rahma23-Dec-12 8:36 
GeneralRe: webpage has resulted in too many redirects Pin
jkirkerx23-Dec-12 8:47
memberjkirkerx23-Dec-12 8:47 
GeneralRe: webpage has resulted in too many redirects Pin
Jassim Rahma24-Dec-12 9:10
memberJassim Rahma24-Dec-12 9:10 
GeneralRe: webpage has resulted in too many redirects Pin
jkirkerx24-Dec-12 13:05
memberjkirkerx24-Dec-12 13:05 
You have to close the connection first before issuing a response.redirect, well you should at least, or else it can cause an error, or leave too many copies of the connector open. I would have to do research on that to confirm it, but I don't redirect when reading or writing data to a database.

Response.Redirect is the last thing you want to do in a sub, after closing and disposing of objects.

It's actually better to write a function without response.redirect, and have the function return a result or exit code, and then redirect.

if (0 = createStoredProcedure()) then
  response.redirect("~/option")
else
  response.redirect("~/error")
End if

Questionpop up on mouse over on a image button Pin
Yasir88721-Dec-12 6:42
memberYasir88721-Dec-12 6:42 
AnswerRe: pop up on mouse over on a image button Pin
AnalogNerd21-Dec-12 9:26
memberAnalogNerd21-Dec-12 9:26 
GeneralRe: pop up on mouse over on a image button Pin
Yasir88721-Dec-12 17:09
memberYasir88721-Dec-12 17:09 
AnswerRe: pop up on mouse over on a image button Pin
n.podbielski22-Dec-12 21:50
membern.podbielski22-Dec-12 21:50 
AnswerRe: pop up on mouse over on a image button Pin
CommDev23-Dec-12 14:35
memberCommDev23-Dec-12 14:35 
Questionasp.net Pin
Nitin Pant20-Dec-12 21:43
memberNitin Pant20-Dec-12 21:43 
AnswerRe: asp.net Pin
Richard MacCutchan20-Dec-12 22:57
mvpRichard MacCutchan20-Dec-12 22:57 
RantRe: asp.net Pin
Richard Deeming21-Dec-12 1:31
memberRichard Deeming21-Dec-12 1:31 
GeneralRe: asp.net Pin
Richard MacCutchan21-Dec-12 2:04
mvpRichard MacCutchan21-Dec-12 2:04 
JokeRe: asp.net Pin
n.podbielski22-Dec-12 21:54
membern.podbielski22-Dec-12 21:54 
AnswerRe: asp.net Pin
J4amieC20-Dec-12 23:26
memberJ4amieC20-Dec-12 23:26 
AnswerRe: asp.net Pin
ProgramFOX20-Dec-12 23:52
memberProgramFOX20-Dec-12 23:52 
AnswerRe: asp.net Pin
CommDev23-Dec-12 14:15
memberCommDev23-Dec-12 14:15 
QuestionProblem with change Gridview cell value Pin
jojoba201119-Dec-12 23:24
memberjojoba201119-Dec-12 23:24 
AnswerRe: Problem with change Gridview cell value Pin
CommDev23-Dec-12 14:24
memberCommDev23-Dec-12 14:24 
QuestionHow to add anchor tag in uploded html page Pin
VyasRavi677619-Dec-12 18:54
memberVyasRavi677619-Dec-12 18:54 
AnswerRe: How to add anchor tag in uploded html page Pin
@AmitGajjar20-Dec-12 5:39
member@AmitGajjar20-Dec-12 5:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150901.1 | Last Updated 2 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid