redirection - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Programming > ASP » redirection


Reply
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 07-08-2006   #1 (permalink)
emily
Junior Member
 
Join Date: Jul 2006
Age: 28
Posts: 4
Default redirection

<i><b>Originally posted by : shaila (shaila@cavendish.co.uk)</b></i><br />When I try to redirect to any page i am getting this message in the browser..why is it? <br /><br />my script goes like this<br /><br />Response.Redirect "user.asp"<br /><br />The message i am getting is :-<br /><br />The requested resource is in use. <br /><br />Thnkas<br />shailaza<br /><br />

Please help
Emily
emily is offline   Reply With Quote


Old 07-23-2006   #2 (permalink)
Ankita
Member
 
Join Date: Jul 2006
Age: 25
Posts: 53
Default Re: redirection

Check your code, make sure all objects are closed and set to nothing. This includes any command or ADOX objects using an Active.Connection property, make sure this property is set to nothing as well.

If you are using thisPage.NavigateURL method, use response.redirect or server.transfer instead - avoid the thisPage object.

Install the latest service packs and security releases and make sure you have the most recent MDAC refresh.
If you have 'Cache ASP applications' checked, try unchecking it temporarily

Try changing the address space and/or isolation settings for the application / site in question.

Try dropping and re-creating the application.


Hope this helps!!



Ankita is offline   Reply With Quote

Old 07-24-2006   #3 (permalink)
Nazir
Member
 
Join Date: Jul 2006
Age: 48
Posts: 45
Default Re: redirection

The Response object allows you to send users to other pages without their knowledge, using the Redirect method. For example

<%@ Page Language="VB" %>
<script runat="server">
sub Page_Load(obj as Object, e as EventArgs)
Response.Redirect("http://homepage.ntlworld.com/n.nadat/default.aspx")
end sub
<script>
<html><body>
Hello world
</body><html>

When a user requests this page, he'll be sent to http://homepage.ntlworld.com/n.nadat/default.aspx immediately and well never see your Hello world message. This is a usefull method if you want to send a user someplace depending on username and password he enters in your form, for example.
Nazir is offline   Reply With Quote

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clan Index Redirection Error Rose Home Base 4 08-18-2005 09:35 PM


footer left
All times are GMT. The time now is 04:04 AM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

Personal Loans | Gas Suppliers | Online Advertising | Loans | Repair Bad Credit

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49