Click here to Skip to main content
15,909,051 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Is it .NET I'm gonna blame this for!`? Pin
Uwe Keim22-Sep-02 10:59
sitebuilderUwe Keim22-Sep-02 10:59 
GeneralRe: Is it .NET I'm gonna blame this for!`? Pin
Rickard Andersson2022-Sep-02 11:05
Rickard Andersson2022-Sep-02 11:05 
GeneralRe: Is it .NET I'm gonna blame this for!`? Pin
Uwe Keim22-Sep-02 11:08
sitebuilderUwe Keim22-Sep-02 11:08 
GeneralRe: Is it .NET I'm gonna blame this for!`? Pin
Rickard Andersson2022-Sep-02 11:13
Rickard Andersson2022-Sep-02 11:13 
AnswerRe: Is it .NET I'm gonna blame this for!`? Pin
Paul Riley22-Sep-02 13:15
Paul Riley22-Sep-02 13:15 
GeneralRe: Is it .NET I'm gonna blame this for!`? Pin
Rickard Andersson2022-Sep-02 21:33
Rickard Andersson2022-Sep-02 21:33 
QuestionHow to improve security? Pin
zhoujun22-Sep-02 2:25
zhoujun22-Sep-02 2:25 
AnswerRe: How to improve security? Pin
Martin Haesemeyer22-Sep-02 6:45
Martin Haesemeyer22-Sep-02 6:45 
zhoujun wrote:
In web.config,i define "forms" auth and user first login will direct to login.aspx,but once they login success,then the next time,they access to the website,they need not to have user/pass checked because of (I think) cookies.
So how can I check user/pass each time users browse my web?


If you create a permant cookie by calling
RedirectFromLoginPage("",true)
then this cookie will stay on the machine until you call SignOut() but if you specify false as the second parameter you application will only create a session cookie which should produce the behaviour you want.

zhoujun wrote:
And another question,if the user idles for some time say 30 minutes,how can I automatically log him out for security.
This again can't be done for permanent cookies. But session cookies can be timed out. The default value is 30 minutes of inactivity but you can specify otherwise in your web.config file:
< authentication mode="Forms">
  <forms timeout="yourTimeInMinutes" />
< /authentication>


Cheers
HTH
Martin

"Situation normal - all fu***d up"
Illuminatus!
GeneralRe: How to improve security? Pin
zhoujun22-Sep-02 21:09
zhoujun22-Sep-02 21:09 
GeneralWeb.config Pin
Rickard Andersson2021-Sep-02 23:45
Rickard Andersson2021-Sep-02 23:45 
GeneralRe: Web.config Pin
Uwe Keim22-Sep-02 0:48
sitebuilderUwe Keim22-Sep-02 0:48 
Generalpls help me Pin
Anonymous20-Sep-02 20:11
Anonymous20-Sep-02 20:11 
GeneralRe: pls help me Pin
Stephane Rodriguez.20-Sep-02 21:57
Stephane Rodriguez.20-Sep-02 21:57 
GeneralSorry this Login Script Version Pin
User 4886920-Sep-02 7:07
User 4886920-Sep-02 7:07 
GeneralRe: Sorry this Login Script Version Pin
Enrico Elizar Samuel21-Sep-02 4:59
Enrico Elizar Samuel21-Sep-02 4:59 
GeneralRe: Sorry this Login Script Version Pin
Rickard Andersson2021-Sep-02 23:38
Rickard Andersson2021-Sep-02 23:38 
GeneralRe: Sorry this Login Script Version Pin
User 4886922-Sep-02 6:50
User 4886922-Sep-02 6:50 
Generallogin script Pin
User 4886920-Sep-02 7:05
User 4886920-Sep-02 7:05 
GeneralWierd Problem Pin
John Pepper20-Sep-02 5:27
John Pepper20-Sep-02 5:27 
GeneralRe: Wierd Problem Pin
Paul Watson20-Sep-02 5:47
sitebuilderPaul Watson20-Sep-02 5:47 
GeneralRe: Wierd Problem Pin
akula20-Sep-02 6:09
akula20-Sep-02 6:09 
GeneralRe: Wierd Problem Pin
akula20-Sep-02 13:06
akula20-Sep-02 13:06 
GeneralButton Onclick does not work! Pin
George Ma20-Sep-02 2:19
George Ma20-Sep-02 2:19 
GeneralRe: Button onclick does not work! Pin
Paul Watson20-Sep-02 3:29
sitebuilderPaul Watson20-Sep-02 3:29 
GeneralRe: Button onclick does not work! Pin
George Ma27-Sep-02 4:02
George Ma27-Sep-02 4:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.