ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP 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:
  #1  
Old March 31st, 2000, 02:27 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 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
Backdoor Security!! (Beginner -needing help)

<i><b>Originally posted by : Andrew (rennera98@yahoo.com)</b></i><br /><br /><%<br />Response.Expires = -1000 'Makes the browser not cache this page<br />Response.Buffer = True 'Buffers the content so our Response.Redirect will work<br />Session("UserLoggedIn") = ""<br /><br />If Request.Form("login") = "true" Then <br /> CheckLogin <br />Else<br /> ShowLogin <br />End If <br /><br /><br />Sub ShowLogin <br />...<br /><br />Above is the code that I am using on my login page! I want to use the session variable ("UserLoggedIn") at the beginning of each page in side that site to make sure that it is somewhat secure. <br /><br />Does anyone know what I would code at the top of each page to check if the session variable ("UserLoggedIn") is true? If true then they have access otherwise they get a message saying they must login first?<br /><br />Any help would be greatly appreciated!<br /><br />Andrew<br />rennera98@yahoo.com

Reply With Quote
  #2  
Old March 31st, 2000, 03:16 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 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
<i><b>Originally posted by : steve</b></i><br />you'd have to have the code to check for the variable and if not then redirect back to the login page<br /><br /><br />------------<br />Andrew at 3/31/2000 12:27:43 PM<br /><br /><br /><%<br />Response.Expires = -1000 'Makes the browser not cache this page<br />Response.Buffer = True 'Buffers the content so our Response.Redirect will work<br />Session("UserLoggedIn") = ""<br /><br />If Request.Form("login") = "true" Then <br /> CheckLogin <br />Else<br /> ShowLogin <br />End If <br /><br /><br />Sub ShowLogin <br />...<br /><br />Above is the code that I am using on my login page! I want to use the session variable ("UserLoggedIn") at the beginning of each page in side that site to make sure that it is somewhat secure. <br /><br />Does anyone know what I would code at the top of each page to check if the session variable ("UserLoggedIn") is true? If true then they have access otherwise they get a message saying they must login first?<br /><br />Any help would be greatly appreciated!<br /><br />Andrew<br />rennera98@yahoo.com

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Backdoor Security!! (Beginner -needing help)


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 2 hosted by Hostway