473,624 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Posting Again- Redirecting to Login page while session expiration

Hi,

Based on the session timeout, session will be expired. Timebeing , we are
manually checking in the each page, whether the session is expired or not,
If so,we
are redirecting to common login page. Is it possible to avoid it by
specifying the common login page in the web.config file? if so ,
can you send the relevant sample please?

Thanks,
Vijay

Nov 17 '05 #1
3 2437
Normally, ASP.NET handles this for you. It even checks for expired sessions
and creates new ones then.

For an exhaustive introduction have a look at:
http://www.4GuysFromRolla.com/webtech/110701-1.shtml

HTH,
Axel Dahmen

--------------
"Vijay" <vi***@infosysu sa.com> schrieb im Newsbeitrag
news:uH******** *****@TK2MSFTNG P11.phx.gbl...
Hi,

Based on the session timeout, session will be expired. Timebeing , we are
manually checking in the each page, whether the session is expired or not,
If so,we
are redirecting to common login page. Is it possible to avoid it by
specifying the common login page in the web.config file? if so ,
can you send the relevant sample please?

Thanks,
Vijay

Nov 17 '05 #2
Axel Dahmen,

Thanks. We would like to use the windows authentication as well as forms
authentication. is it possible?
Now our web config file has "Windows" authentication to access the database.
with "impersonate=tr ue"
In addition, we need to provide the forms authentication too.

Thanks,
Vijay

"Axel Dahmen" <NO*****@NoOneK nows.de> wrote in message
news:#v******** ******@tk2msftn gp13.phx.gbl...
Normally, ASP.NET handles this for you. It even checks for expired sessions and creates new ones then.

For an exhaustive introduction have a look at:
http://www.4GuysFromRolla.com/webtech/110701-1.shtml

HTH,
Axel Dahmen

--------------
"Vijay" <vi***@infosysu sa.com> schrieb im Newsbeitrag
news:uH******** *****@TK2MSFTNG P11.phx.gbl...
Hi,

Based on the session timeout, session will be expired. Timebeing , we are manually checking in the each page, whether the session is expired or not, If so,we
are redirecting to common login page. Is it possible to avoid it by
specifying the common login page in the web.config file? if so ,
can you send the relevant sample please?

Thanks,
Vijay


Nov 17 '05 #3
You can check out this article, this might be of use to you.
http://www.extremeexperts.com/Net/Ar...rSessionTimeou
t.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Vijay" <vi***@infosysu sa.com> wrote in message
news:uf******** ******@tk2msftn gp13.phx.gbl...
Axel Dahmen,

Thanks. We would like to use the windows authentication as well as forms
authentication. is it possible?
Now our web config file has "Windows" authentication to access the database. with "impersonate=tr ue"
In addition, we need to provide the forms authentication too.

Thanks,
Vijay

"Axel Dahmen" <NO*****@NoOneK nows.de> wrote in message
news:#v******** ******@tk2msftn gp13.phx.gbl...
Normally, ASP.NET handles this for you. It even checks for expired

sessions
and creates new ones then.

For an exhaustive introduction have a look at:
http://www.4GuysFromRolla.com/webtech/110701-1.shtml

HTH,
Axel Dahmen

--------------
"Vijay" <vi***@infosysu sa.com> schrieb im Newsbeitrag
news:uH******** *****@TK2MSFTNG P11.phx.gbl...
Hi,

Based on the session timeout, session will be expired. Timebeing , we are manually checking in the each page, whether the session is expired or not, If so,we
are redirecting to common login page. Is it possible to avoid it by
specifying the common login page in the web.config file? if so ,
can you send the relevant sample please?

Thanks,
Vijay



Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

145
6286
by: David MacQuigg | last post by:
Playing with Prothon today, I am fascinated by the idea of eliminating classes in Python. I'm trying to figure out what fundamental benefit there is to having classes. Is all this complexity unecessary? Here is an example of a Python class with all three types of methods (instance, static, and class methods). # Example from Ch.23, p.381-2 of Learning Python, 2nd ed. class Multi:
21
4228
by: Davinder | last post by:
can anyone recommend a good tool to convert documents to HTML on the fly. I need to integrate this tool with a VB app so it must have an API. thanks in advance Davinder davinder@gujral.co.uk
5
2930
by: m_t_hill | last post by:
Running MS Access 2000 MS Windows XP Pro This has caused me a lot of hair loss in the last few days so would appreciate any help. I am running code to append/update a local access database from a remote MS SQL database. The method of determining which records to append is primarily using the last date an update was carried out; I appreciate that there is probably a better way of doing this but time
4
1269
by: Jason Penniman | last post by:
Here's an interesting one that has me stumped. I have several ASP.NET applications writen in VB.NET that stopped posting back on click of a button. Nothing has changed in the code or the environment, it just stopped working. Here's my config: Production: ASP.NET 1.0 ..NET Frameworks 1.1 SP1 Win2K SP4 all hotfixes applied, IIS 5.0
1
1054
by: Showjumper | last post by:
I apologize for posting again but i am unable to see my posts. Ashok
5
3978
by: Mike TI | last post by:
March 24, 2006 Hi all I am new to VB.NET and am using VB.NET 2005. I have an MDI form with a Split Container Control. On demand I am adding and removing User Controls on Panel 2. I am using Show() and Hide(). It works perfectly. The only thing is I would like to remove the User Control from memory instead of hiding. I tried Dispose(), however then I cannot show this
31
3545
by: damacy | last post by:
hi, there. i have a problem writing a program which can obtain ip addresses of machines running in the same local network. say, there are 4 machines present in the network; , , and and if i run my program on , it should be able to find "host names" and "ip addresses" of the other machines; , and ? i have read some threads posted on this group, however, they only work for localhost, not the entire network.
7
2241
by: AmitKu | last post by:
I am trying to do a URL post using HttpWebRequest, but it fails because I am hosting on Network Solutions, and their servers are all medium trust. Apparently HttpWebRequest doesn't work on medium trust. Is there any way to do URL posting in a medium trust environment? I'm hoping I don't need to switch hosts because of this. Btw I've posted this a 3rd time now because I've yet to receive any replies whatsoever. I've called around...
0
22679
iam_clint
by: iam_clint | last post by:
Javascript vs JSP I would like to note that JSP and JS are 2 different languages and are not used for the same thing. You would find better help for jsp posting under the Java forum. Posting GuideLines Please follow these guidelines when posting questions. Submitting clear and concise questions allow those reading to understand your problem and respond easily. Post your question in a relevant forum
6
2275
by: Darin McGrew | last post by:
A few years ago, I was posting the WDG's Web Authoring FAQ to ciwah. The FAQ was crossposted to comp.answers and news.answers, and is archived at ftp://rtfm.mit.edu/pub/usenet/news.answers/www/authoring-faq The last posting was more than 4 years ago. The current version of the FAQ is at http://www.htmlhelp.com/faq/html/
0
8234
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8172
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8474
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7158
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6110
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2605
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1482
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.