Click here to Skip to main content
15,917,645 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionImage Binding in the Template Column Pin
M. J. Jaya Chitra19-Sep-08 18:13
M. J. Jaya Chitra19-Sep-08 18:13 
AnswerRe: Image Binding in the Template Column Pin
Parwej Ahamad19-Sep-08 18:38
professionalParwej Ahamad19-Sep-08 18:38 
QuestionImport Excel Sheet Data to Gridview Pin
Member 451421819-Sep-08 9:36
Member 451421819-Sep-08 9:36 
QuestionCustom Membership Api.Im confused the more i search on the net Pin
highjo19-Sep-08 7:13
highjo19-Sep-08 7:13 
AnswerRe: Custom Membership Api.Im confused the more i search on the net Pin
AlexeiXX319-Sep-08 8:09
AlexeiXX319-Sep-08 8:09 
AnswerRe: Custom Membership Api.Im confused the more i search on the net Pin
Nirandas19-Sep-08 20:36
Nirandas19-Sep-08 20:36 
QuestionLog out users as soon as they leave the site Pin
Member 390065419-Sep-08 3:22
Member 390065419-Sep-08 3:22 
AnswerRe: Log out users as soon as they leave the site Pin
AlexeiXX319-Sep-08 17:42
AlexeiXX319-Sep-08 17:42 
I had seen this question before
There might be a way...

1.- Implement a webmethod or a page function that deletes the session (I think that it is not posible to end the authentication ticket in this type of call)
2.- Using javascript in the clientside, call this function when the user is leaving the page
I dont know the javascript event where you need to make the server call, but just take a look at the post new message page here at codeproject and see how it warns you about loosing the info if you leave the page (hitting the backbutton or writing a new url in the address bar) on that event instead of warning (or you could warn as well) call the server function or webmethod in step 1

Now, if you do it like this, if the user hits the back button (Once he is in another website), he will be able to see the page but when a postback is done, check to see if it is a new session (or look for a session field that was set when the user logged in), if your condition is not met, log the user out and redirectit to login page

I hope you work it out, but i really think you are going to far, i dont see any problem leaving your app as it is

Alexei Rodriguez

Questionpaging in datalist control Pin
coolsatty19-Sep-08 2:06
coolsatty19-Sep-08 2:06 
AnswerRe: paging in datalist control Pin
Gayani Devapriya19-Sep-08 3:03
Gayani Devapriya19-Sep-08 3:03 
Questionincrese size of row in GridView Pin
kishorg119-Sep-08 2:00
kishorg119-Sep-08 2:00 
Questionhow to get more value in a single string in ASP.net2005 Pin
gautamamit819-Sep-08 1:50
gautamamit819-Sep-08 1:50 
AnswerRe: how to get more value in a single string in ASP.net2005 Pin
J4amieC19-Sep-08 2:25
J4amieC19-Sep-08 2:25 
QuestionOpen Source Forum vs Code from Scratch? Pin
feederman19-Sep-08 0:45
feederman19-Sep-08 0:45 
AnswerRe: Open Source Forum vs Code from Scratch? Pin
ToddHileHoffer19-Sep-08 4:20
ToddHileHoffer19-Sep-08 4:20 
AnswerRe: Open Source Forum vs Code from Scratch? Pin
Ashfield19-Sep-08 4:59
Ashfield19-Sep-08 4:59 
QuestionimageButton in a gridview Pin
Assaf8219-Sep-08 0:32
Assaf8219-Sep-08 0:32 
AnswerimageButton in a gridview Pin
Chetan Patel19-Sep-08 0:36
Chetan Patel19-Sep-08 0:36 
GeneralRe: imageButton in a gridview Pin
Assaf8219-Sep-08 0:47
Assaf8219-Sep-08 0:47 
QuestionRequire Suggestion for calling service [modified] Pin
Member 455464918-Sep-08 23:40
Member 455464918-Sep-08 23:40 
AnswerRe: Require Suggestion for calling service Pin
Sandeep Akhare22-Sep-08 1:34
Sandeep Akhare22-Sep-08 1:34 
Questionclose a firefox browser with javascript Pin
dews turner18-Sep-08 23:16
dews turner18-Sep-08 23:16 
AnswerRe: close a firefox browser with javascript Pin
eyeseetee18-Sep-08 23:29
eyeseetee18-Sep-08 23:29 
GeneralRe: close a firefox browser with javascript Pin
dews turner18-Sep-08 23:51
dews turner18-Sep-08 23:51 
GeneralRe: close a firefox browser with javascript Pin
eyeseetee19-Sep-08 0:25
eyeseetee19-Sep-08 0:25 

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.