Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 29th, 2007, 04:01 AM
Registered User
 
Join Date: Jun 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default session setting

Hi all,

I have added the following tag to one of my pages:

<META HTTP-EQUIV="Refresh" CONTENT="61;URL=login.aspx">

So, it times out and is redirected to my login page. I was wondering if I needed to include this tag for all of my pages? Or is there a way for me to just put it in one place preferably the global.asax page or the web.config page? I don't have "forms authentication" in my globa.asax page. All I have are:

Application_Start
Session_Start
Application_BeginRequest
Application_AuthenticateRequest
Application_Error
Session_End
Application_End

Can you please tell me what I can do? Thanks for your help thus far. Any help from anyone is greatly appreciated. I am very new to the .net environment.

 
Old March 29th, 2007, 07:15 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

if you are using master page you should trying to put that line in the master page.. if you are not.. i suggest you start searching about it and using them....

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========




Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Session State Timeout AgentSmith ASP.NET 1.0 and 1.1 Basics 1 July 12th, 2007 07:07 AM
Setting logged in UserName to Session ID Admiral1701 ASP.NET 2.0 Professional 10 December 1st, 2006 10:35 AM
Setting Session variables problems hoffmann JSP Basics 0 February 9th, 2005 11:58 AM
Setting Session Variable on click of button... waddelln BOOK: Beginning ASP 3.0 1 November 18th, 2004 01:01 AM
Setting a DB value on Session Abandon bigmish Classic ASP Databases 6 July 19th, 2004 10:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.