C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




sessions


Posted Date: 04 Sep 2008      Total Responses: 5

Posted By: Musturu Thippa Reddy       Member Level: Silver     Points: 1



hi to all


i developed login page but i need expire time option.it means after 10 min of login ask the user name and passwords once again and goes to login page





Responses

Author: Ritesh N. Jain    04 Sep 2008Member Level: GoldRating:     Points: 2

Wondering why dont you check the post created by your self before posting new one with same query?

http://www.dotnetspider.com/forum/169094-sessions.aspx



Author: vishal     04 Sep 2008Member Level: GoldRating:     Points: 2

you can do it by programatically or by setting it in web.config.




Author: G.Hemadribabu    05 Sep 2008Member Level: GoldRating:     Points: 6

You can do it programmatically like this

Add a dropdown box there you can 10,20,30,40 etc., ate what time you want to expire your login then based on the user selection you can set the session time out.

otherwise you can get it from a textbox and then you can set the session timeout

Session.Timeout = 10 (for ten minutes)
Session.Timeout = 20 ( for 20 minutes)

otherwise

session.timeout=textbox1.text

or

session.timeout=Drodown1.selectedvalue


Hope u might have cleared ur doubt

thank you
hemadribabu



Author: Appukuttan    05 Sep 2008Member Level: DiamondRating:     Points: 3

Hello..

You can do it programmatically

Like session.Timeout=10;



Author: Geetha    05 Sep 2008Member Level: GoldRating:     Points: 3

HI

store the username in session and set the session timeout as 10 minutes in your web.config.
<sessionState timeout="10" />

Regards,
Geetha.



Post Reply
You must Sign In to post a response.
Next : Free .net tutorials for commercial purpose
Previous : plz help
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use