SunQuest
 
           .NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old January 3rd, 2002, 03:48 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Reading current URL

Originally posted by : Steve Roberts Jr (racegene@yahoo.com)I am doing a little password script and it is just an include on the page with protected content. However, to verify the user/pass, I need it to redirect to the same page after submitting the login form. I currently just use a variable as such: so that the included file knows where to go back to.I know this can be done with javascript, but i would prefer to use asp if possible. Any assistance is much appriciated.

Reply With Quote
  #2  
Old January 5th, 2002, 02:28 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Originally posted by : steve schofield (steve@aspfree.com)try in your include file use the PATH_INFO variable to capture it and pass to the logon page.if LogonVariable = "" Thenresponse.redirect "logon.asp?referpage=" & request.servervariables("PATH_INFO ")End IfOn the logon pageform method="post" action="logon.asp?Referpage="------------Steve Roberts Jr at 1/3/2002 1:48:22 PMI am doing a little password script and it is just an include on the page with protected content. However, to verify the user/pass, I need it to redirect to the same page after submitting the login form. I currently just use a variable as such: so that the included file knows where to go back to.I know this can be done with javascript, but i would prefer to use asp if possible. Any assistance is much appriciated.

Reply With Quote
  #3  
Old January 6th, 2002, 07:29 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Originally posted by : Steve Roberts (racegene@yahoo.com)Thanks, it works like a charm!!

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Reading current URL


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway