Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-19-2004, 02:11 PM
WebProWorld Member
 

Join Date: Feb 2004
Posts: 58
yorks RepRank 0
Default asp redirection

Hi all

I have an ASP page which checks a user login. If the login is valid then it sets up all the necessay variables and uses a response.redirect command to then continue to the main site.

All I want to do is automatically open another ASP program in a new window before the the redirection takes place in the original window.

Any ideas ?

Yorks
Reply With Quote
  #2 (permalink)  
Old 03-19-2004, 07:30 PM
swstyles's Avatar
WebProWorld Pro
 

Join Date: Aug 2003
Location: Phoenix, AZ
Posts: 167
swstyles RepRank 0
Default

You will need to use javascript in order to open a new window. you can pass your query if any to your javascript. Since asp is processed on the server, you have to use client scripting to access or open a new window.
__________________
Daniel M: South West Styles/STEELid
daniel@steelid.com
http://www.steelid.com
http://www.thephototool.com
Reply With Quote
  #3 (permalink)  
Old 03-19-2004, 08:03 PM
WebProWorld Member
 

Join Date: Feb 2004
Posts: 58
yorks RepRank 0
Default

Hi

Thnaks for the reply. I have tried using Javascript to open a window but it doesnt seem to work. Not sure what you mean by 'client scripting'

Thanks in advance

Robert
Reply With Quote
  #4 (permalink)  
Old 03-19-2004, 08:10 PM
swstyles's Avatar
WebProWorld Pro
 

Join Date: Aug 2003
Location: Phoenix, AZ
Posts: 167
swstyles RepRank 0
Default

client scripting = client side scripting
sorry for the miscommunication.

javascript = client side scripting

I recommend building an interim page after a successfull login showing text like:

logging in......

You could do a meta refresh on that page to send the user to the main page.

While this logging page is open, you can then do an onLoad() function in javascript to open the new window.

The new window will open and the main window will then go to the proper page.

hope that makes sense.
__________________
Daniel M: South West Styles/STEELid
daniel@steelid.com
http://www.steelid.com
http://www.thephototool.com
Reply With Quote
  #5 (permalink)  
Old 03-20-2004, 10:11 AM
WebProWorld Member
 

Join Date: Feb 2004
Posts: 58
yorks RepRank 0
Default

Thanks Daniel ..works a treat !
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: ,



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


Search Engine Optimization by vBSEO 3.2.0