473,322 Members | 1,259 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 2421
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***@infosysusa.com> schrieb im Newsbeitrag
news:uH*************@TK2MSFTNGP11.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=true"
In addition, we need to provide the forms authentication too.

Thanks,
Vijay

"Axel Dahmen" <NO*****@NoOneKnows.de> wrote in message
news:#v**************@tk2msftngp13.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***@infosysusa.com> schrieb im Newsbeitrag
news:uH*************@TK2MSFTNGP11.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***@infosysusa.com> wrote in message
news:uf**************@tk2msftngp13.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=true"
In addition, we need to provide the forms authentication too.

Thanks,
Vijay

"Axel Dahmen" <NO*****@NoOneKnows.de> wrote in message
news:#v**************@tk2msftngp13.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***@infosysusa.com> schrieb im Newsbeitrag
news:uH*************@TK2MSFTNGP11.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
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...
21
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
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...
4
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...
1
by: Showjumper | last post by:
I apologize for posting again but i am unable to see my posts. Ashok
5
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...
31
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...
7
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...
0
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...
6
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 ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.