Click here to Skip to main content
15,884,537 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to pass JavaScript variable to another page? Pin
samflex18-Feb-15 16:04
samflex18-Feb-15 16:04 
AnswerRe: How to pass JavaScript variable to another page? Pin
F-ES Sitecore18-Feb-15 23:40
professionalF-ES Sitecore18-Feb-15 23:40 
AnswerRe: How to pass JavaScript variable to another page? Pin
Member 1143449224-Feb-15 0:10
Member 1143449224-Feb-15 0:10 
QuestionMVC 5 Newbie Question - Plugins, Packages? Pin
jkirkerx18-Feb-15 6:45
professionaljkirkerx18-Feb-15 6:45 
Answer[GOT IT] You can modify the Simple Membership Pin
jkirkerx19-Feb-15 11:05
professionaljkirkerx19-Feb-15 11:05 
GeneralRegsiter User, it works but not sure if it's done right for MVC Pin
jkirkerx19-Feb-15 13:32
professionaljkirkerx19-Feb-15 13:32 
QuestionWeb api works on localhost, but not on deployement server Pin
Member 1092967518-Feb-15 5:40
Member 1092967518-Feb-15 5:40 
QuestionUsing SQL Server CONTEXT_INFO feature in ASP.Net + Enterprise Library (v5 & above) Pin
Member 317000018-Feb-15 1:54
Member 317000018-Feb-15 1:54 
I have a ASP.Net 3.5 web application with SQL 2008 as the back-end. I used ADO.Net's enterprise library Data Helper classes (Entlib 4.1) to access the DB and its stored procedures.
I initially set the CONTEXT_INFO in a stored procedure and then in subsequent stored procedures, I use the value set in CONTEXT_INFO to filter the queries. It worked perfectly in this setup.

I then migrated to ASP.NET 4.5.1 framework with EntLib 6 (tried with 5 also). I am facing a fundamental issue in that the CONTEXT_INFO value is not being retained between 2 subsequent SP calls. I have not closed the connection between calling the SP's/subsequent calls. Therefore none of my SP's return values.

SP for setting CONTEXT_INFO
----------------------------
DECLARE @ContextInfo varbinary(128)
SELECT @ContextInfo = cast( @SomeIDPassed AS varbinary(128) )
SET CONTEXT_INFO @ContextInfo

Other SP using CONTEXT_INFO
---------------------------
(CONVERT(int, RTRIM(REPLACE(CONVERT(varchar(128), CONTEXT_INFO()),char(0), '')))))

Please provide your inputs
Thanks,
Anand
QuestionMVC 5, creating a download exe file link Pin
jkirkerx16-Feb-15 11:01
professionaljkirkerx16-Feb-15 11:01 
AnswerRe: MVC 5, creating a download exe file link Pin
Richard Deeming16-Feb-15 11:22
mveRichard Deeming16-Feb-15 11:22 
GeneralOh that's pretty slick Pin
jkirkerx16-Feb-15 11:40
professionaljkirkerx16-Feb-15 11:40 
GeneralRe: Oh that's pretty slick Pin
Richard Deeming16-Feb-15 12:06
mveRichard Deeming16-Feb-15 12:06 
GeneralRe: Oh that's pretty slick Pin
jkirkerx16-Feb-15 12:56
professionaljkirkerx16-Feb-15 12:56 
GeneralRe: Oh that's pretty slick Pin
Richard Deeming17-Feb-15 3:12
mveRichard Deeming17-Feb-15 3:12 
GeneralRe: Oh that's pretty slick Pin
jkirkerx17-Feb-15 8:01
professionaljkirkerx17-Feb-15 8:01 
QuestionMVC Template Pin
mlaitat16-Feb-15 1:07
mlaitat16-Feb-15 1:07 
AnswerRe: MVC Template Pin
Dave Kreskowiak16-Feb-15 14:31
mveDave Kreskowiak16-Feb-15 14:31 
QuestionWhich is more secure cms in asp.net web development ? Customized cms or Third party cms(DNN,umbraco,etc) Pin
RajeeshMenoth15-Feb-15 20:22
professionalRajeeshMenoth15-Feb-15 20:22 
AnswerRe: Which is more secure cms in asp.net web development ? Customized cms or Third party cms(DNN,umbraco,etc) Pin
Dave Kreskowiak16-Feb-15 14:32
mveDave Kreskowiak16-Feb-15 14:32 
GeneralRe: Which is more secure cms in asp.net web development ? Customized cms or Third party cms(DNN,umbraco,etc) Pin
RajeeshMenoth16-Feb-15 17:03
professionalRajeeshMenoth16-Feb-15 17:03 
GeneralRe: Which is more secure cms in asp.net web development ? Customized cms or Third party cms(DNN,umbraco,etc) Pin
Dave Kreskowiak16-Feb-15 17:59
mveDave Kreskowiak16-Feb-15 17:59 
Questionnavigation method Pin
Member 1145476815-Feb-15 20:14
Member 1145476815-Feb-15 20:14 
AnswerRe: navigation method Pin
Dave Kreskowiak16-Feb-15 14:34
mveDave Kreskowiak16-Feb-15 14:34 
QuestionError code 500 Pin
Member 1101185313-Feb-15 23:50
Member 1101185313-Feb-15 23:50 
AnswerRe: Error code 500 Pin
Afzaal Ahmad Zeeshan14-Feb-15 0:01
professionalAfzaal Ahmad Zeeshan14-Feb-15 0:01 

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.