Click here to Skip to main content
15,849,678 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Code is inserting only one row of records. Any ideas? Pin
F-ES Sitecore11-Oct-17 1:54
professionalF-ES Sitecore11-Oct-17 1:54 
AnswerRe: Code is inserting only one row of records. Any ideas? Pin
ZurdoDev11-Oct-17 10:44
professionalZurdoDev11-Oct-17 10:44 
QuestionHave a form result invisible until submission? Pin
The Rarispy8-Oct-17 17:48
The Rarispy8-Oct-17 17:48 
AnswerRe: Have a form result invisible until submission? Pin
Richard Deeming9-Oct-17 9:42
mveRichard Deeming9-Oct-17 9:42 
QuestionChanging the text of a GridView buttonfield text dynamically Pin
Stephen Holdorf7-Oct-17 16:10
Stephen Holdorf7-Oct-17 16:10 
QuestionASP.Net Core and global.asax Pin
Mou_kol6-Oct-17 0:21
Mou_kol6-Oct-17 0:21 
AnswerRe: ASP.Net Core and global.asax Pin
Afzaal Ahmad Zeeshan11-Oct-17 13:31
professionalAfzaal Ahmad Zeeshan11-Oct-17 13:31 
QuestionDesktop application "communicating" with ASP.NET Pin
The Junior5-Oct-17 0:02
The Junior5-Oct-17 0:02 
Can someone point me in the right direction on how to do the following?

I need to create a small desktop application that uses FileSystemWatcher to look for file creation. When a file has been detected, it uploads the file to a server (Web API). So far so good.


Here comes the problem: The file(s) need to attach themselves to the 'page' the current user is on.

A user creates a 'New Page' on our website, fills in some information and then imports files that our FileSystemWatcher detects. Somehow the Web API need to find what session the user is on and attach the files to this session and then display the files/images on the current 'page'.

My idea is to add another cell to the user table in the database called "CurrentSession", that holds a uniqueidentifier (pointing towards the PageId). But this Id needs to be cleared if the user leaves the page, closes the browser, disconnects, log-out and so on. It's vital that the files do not attach themselves to the wrong page.


Am I over thinking this? Or is there a better way to achieve this?
AnswerRe: Desktop application "communicating" with ASP.NET Pin
Atlapure Ambrish5-Oct-17 5:04
professionalAtlapure Ambrish5-Oct-17 5:04 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
The Junior5-Oct-17 5:24
The Junior5-Oct-17 5:24 
SuggestionRe: Desktop application "communicating" with ASP.NET Pin
Richard Deeming5-Oct-17 5:08
mveRichard Deeming5-Oct-17 5:08 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
The Junior5-Oct-17 5:21
The Junior5-Oct-17 5:21 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
David Mujica5-Oct-17 10:08
David Mujica5-Oct-17 10:08 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
The Junior5-Oct-17 22:34
The Junior5-Oct-17 22:34 
QuestionProgramming Chat supports video and audio and the number of connected high Pin
Member 1343772929-Sep-17 13:07
professionalMember 1343772929-Sep-17 13:07 
AnswerRe: Programming Chat supports video and audio and the number of connected high Pin
ZurdoDev2-Oct-17 5:10
professionalZurdoDev2-Oct-17 5:10 
QuestionImplementation advice for quiz with 4 choice questions Pin
Farhad Eft28-Sep-17 11:09
Farhad Eft28-Sep-17 11:09 
AnswerRe: Implementation advice for quiz with 4 choice questions Pin
Farhad Eft30-Sep-17 7:31
Farhad Eft30-Sep-17 7:31 
QuestionASP.NET authorization Pin
SaeedPol27-Sep-17 9:30
SaeedPol27-Sep-17 9:30 
AnswerRe: ASP.NET authorization Pin
The Junior5-Oct-17 5:34
The Junior5-Oct-17 5:34 
QuestionRepeater Template Desinging Pin
Member 1337195126-Sep-17 9:41
Member 1337195126-Sep-17 9:41 
AnswerRe: Repeater Template Desinging Pin
A_Griffin26-Sep-17 10:26
A_Griffin26-Sep-17 10:26 
GeneralRe: Repeater Template Desinging Pin
Member 1337195126-Sep-17 10:28
Member 1337195126-Sep-17 10:28 
GeneralRe: Repeater Template Desinging Pin
A_Griffin26-Sep-17 10:33
A_Griffin26-Sep-17 10:33 
GeneralRe: Repeater Template Desinging Pin
Member 1337195126-Sep-17 10:36
Member 1337195126-Sep-17 10:36 

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.