Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Gads i am a noob, and here is a non-working one line program to prove it...

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,33227
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Gads i am a noob, and here is a non-working one line program to prove it...
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Gads i am a noob, and here is a non-working one line pr... - 4/7/2006 2:08:53 AM   
  Sparf

 

Posts: 8
Score: 0
Joined: 4/7/2006
Status: offline
 


<% LOCATION.HREF = "j3.asp"  %>




which gives the following:

Microsoft VBScript runtime error '800a01a8'
Object required: ''
/j4.asp, line 1


so....  anyone have any helpfull hints?  just trying to go from one page to another.  and...  gads.


 
 
Post #: 1
 
 RE: Gads i am a noob, and here is a non-working one lin... - 4/7/2006 2:17:00 AM   
  ebgreen


Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
A couple of things. I believe the HREF property needs to contain a complete URL. You also may need to use window.location.href = 

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to Sparf)
 
 
Post #: 2
 
 RE: Gads i am a noob, and here is a non-working one lin... - 4/7/2006 2:19:21 AM   
  Sparf

 

Posts: 8
Score: 0
Joined: 4/7/2006
Status: offline
tried both of those things too...



(in reply to ebgreen)
 
 
Post #: 3
 
 RE: Gads i am a noob, and here is a non-working one lin... - 4/7/2006 2:21:49 AM   
  ebgreen


Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
Ehh...in that case you will need to wait until one of the ASP gurus wanders along (I mainly do non-ASP scripting). In the meantime it might help to see a little more of your code (ideally all of it) and a more detailed description of what you are trying to accomplish.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to Sparf)
 
 
Post #: 4
 
 RE: Gads i am a noob, and here is a non-working one lin... - 4/7/2006 2:23:48 AM   
  sorex

 

Posts: 77
Score: 0
Joined: 3/9/2006
Status: offline
in ASP it's

<%response.redirect("j3.asp")%>

(in reply to ebgreen)
 
 
Post #: 5
 
 RE: Gads i am a noob, and here is a non-working one lin... - 4/7/2006 2:26:10 AM   
  Sparf

 

Posts: 8
Score: 0
Joined: 4/7/2006
Status: offline
 
Well, i have some code that works pretty good, at one point it sends control to this page J4.ASP, this works fine, i am sending it with a button.  in J4 i want to do some...  just stuff...  and then send it back.  so first i wrote the send it back thingy.


which was the one line program that fails.  and here i am.


but i can send it back using the SERVER.TRANSFER() command, but the header stays as J4 on the other page  (which is J3)  (as you can see my page's purpose and intended use are fully explained in their descriptive names)


so...   :-)


(in reply to ebgreen)
 
 
Post #: 6
 
 RE: Gads i am a noob, and here is a non-working one lin... - 4/7/2006 2:32:33 AM   
  Sparf

 

Posts: 8
Score: 0
Joined: 4/7/2006
Status: offline
 
sorex you are a ASP god!  it works!


<%response.redirect("j3.asp")%>




but you knew it would.   ;-)


thanks tons.   i cant wait.  i will be writting J6 in no time now!!!! 





(in reply to Sparf)
 
 
Post #: 7
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Gads i am a noob, and here is a non-working one line program to prove it... Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts