Will this maintain the SESSION variables as well so that if I redirect to another site for a few minutes and come back they will remain?
Main Topics
Browse All TopicsI am using the built in asp.net membership, etc... and using the login control. How do I make the login timeout 30 minutes, so they don't have to login for 30 minutes AFTER INACTIVITY.
IMPORTANT: I have to make sure ALL SESSION VARIABLES are stored for this amount of time as well. Why? I jump from my site to authorize.net so they can input their cc info, etc... then after they are done they are RETURNED to my site and several of the session vars are accessed for further processing. I need all of this to not timeout!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Ok this is what happend....
I put the setting in the web.config.
My web application basically works like this....
1. User logins to the website (using Forms authentication)
2. Goes to payment page (must be logged in to see page)
3. After filling out a few things the page is REDIRECTED to the Authorize.net servers
4. User fills out credit card info etc and submits it on the Authorize.net server
5. After displaying a receipt they click Continue and they are REDIRECTED BACK to my website. The page they get redirected to is in a 'members only' directory. (Since we SHOULD be logged in there should be no problem!!!!)
6. The members-only page stores some info in the database (product marked as paid, etc...)
The problem is with step 5. When I get redirected back to my website it jumps me over to the login.aspx page (with a redirecturl) as if I was NOT logged in! Why does it think I am NOT logged in when I should be?!!!
Thanks!
Business Accounts
Answer for Membership
by: tiagosalgadoPosted on 2009-03-02 at 15:01:36ID: 23779422
You must have something like this on your web.config
Select allOpen in new window