Click here to Skip to main content
16,013,082 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Header/Footer by Inheritance? Pin
Nick Parker19-Jun-02 2:44
protectorNick Parker19-Jun-02 2:44 
Generalfree Microsoft Asp.net Web Matrix editor is out Pin
Andy Smith17-Jun-02 10:40
Andy Smith17-Jun-02 10:40 
GeneralRe: free Microsoft Asp.net Web Matrix editor is out Pin
MS le Roux18-Jun-02 5:07
MS le Roux18-Jun-02 5:07 
GeneralRe: free Microsoft Asp.net Web Matrix editor is out Pin
Andy Smith18-Jun-02 5:21
Andy Smith18-Jun-02 5:21 
GeneralASp.NET hosting Pin
Mauricio Ritter17-Jun-02 8:59
Mauricio Ritter17-Jun-02 8:59 
GeneralRe: ASp.NET hosting Pin
Not Active17-Jun-02 14:52
mentorNot Active17-Jun-02 14:52 
GeneralRe: ASp.NET hosting Pin
Nick Parker18-Jun-02 15:32
protectorNick Parker18-Jun-02 15:32 
GeneralForcing relogin if session expires or page was bookmarked Pin
Megan Forbes17-Jun-02 5:32
Megan Forbes17-Jun-02 5:32 
Hi, I am trying to ensure that the user is always returned to the login page should their session expire, or if they try to reach a page without logging in, using the code below.
<%
if Session("Logged_In")= "" Or Session("Logged_In") = 0 or Session("Userid")= "" then
Session("Userid") =""
Session("Title") =""
Session("Forename") = ""
Session("Surname") = ""
Session("UserType") = ""
Session("Logged_In") = ""
Session.Abandon
dim strHttp
strHttp = "http://" & Request.ServerVariables("HTTP_HOST") & "/ourDomain/"

%>



<%end if%>
For the first case, if there was no opening window, a runtime error occurs due to there being no window opener

For the second case we do get the login page, but the "unauthorised" page still loads - big problem. Confused | :confused: . I know this is possible, banking sites, etc, do this. Has anyone done this before who can help? Thanks a lot!!! Blush | :O

Polymorph
QuestionHow to display an error message Pin
sybux200016-Jun-02 8:50
sybux200016-Jun-02 8:50 
AnswerRe: How to display an error message Pin
yesu18-Jun-02 1:46
yesu18-Jun-02 1:46 
GeneralRe: How to display an error message Pin
18-Jun-02 5:07
suss18-Jun-02 5:07 
GeneralRe: How to display an error message Pin
18-Jun-02 19:23
suss18-Jun-02 19:23 
GeneralRe: How to display an error message Pin
19-Jun-02 4:46
suss19-Jun-02 4:46 
GeneralRe: How to display an error message Pin
Jude Asis Prabhu19-Jun-02 19:17
Jude Asis Prabhu19-Jun-02 19:17 
GeneralRe: How to display an error message Pin
yesu20-Jun-02 0:55
yesu20-Jun-02 0:55 
GeneralGet the default printer name Pin
sybux200016-Jun-02 4:35
sybux200016-Jun-02 4:35 
Generalserver objects Pin
15-Jun-02 9:54
suss15-Jun-02 9:54 
GeneralRe: server objects Pin
18-Jun-02 3:08
suss18-Jun-02 3:08 
GeneralPopular server-side scripting languages Pin
alex.barylski15-Jun-02 9:58
alex.barylski15-Jun-02 9:58 
Generaltimer need help. Pin
15-Jun-02 1:25
suss15-Jun-02 1:25 
GeneralRe: timer need help. Pin
alex.barylski15-Jun-02 9:48
alex.barylski15-Jun-02 9:48 
GeneralWeb page in a language other than English Pin
Hitu14-Jun-02 22:42
Hitu14-Jun-02 22:42 
GeneralUsage of TreeView ActiveX Control Pin
14-Jun-02 22:23
suss14-Jun-02 22:23 
GeneralTrouble With Sessions Pin
Pradhip14-Jun-02 7:46
Pradhip14-Jun-02 7:46 
GeneralRe: Trouble With Sessions Pin
Not Active14-Jun-02 8:35
mentorNot Active14-Jun-02 8:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.