15,906,816 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 10752313 (Top 21 by date)
Member 10752313
19-Jun-17 2:50am
View
Ok, but my requirement is to find the Guid of current instance and add to it. I have searched for last entry of dictionary but it is telling that always the order in the dictionary maynot be same. So is my way is correct or any approach that can be used to implement this?
Member 10752313
16-Jun-17 3:46am
View
Ok.
I will make it clear.
I have created a unique id for each client request in server as
Guid clientId = Guid.NewGuid();
Cookie setCookie = new Cookie("ASPSESSIONID", clientId.ToString());
HttpListenercontext.Response.AppendCookie(setCookie);
If a client set Session["Name"]=Roy; How can I access the name Roy in my server using HttpListenerContext?
Member 10752313
16-Jun-17 3:24am
View
Actually I am developing a server, my question is how Session["Name"] set in web form is accessed in my server to create unique id, ie how the name-value pair created in web form is send to server?
Member 10752313
15-Jun-17 8:19am
View
@F-ES Sitecore Thankyou very much for the idea.
Member 10752313
15-Jun-17 7:53am
View
Ok my question is how I can generate the session id in my server code for the client request?
Member 10752313
15-Jun-17 7:33am
View
Thankyou, actually I have two html pages called Request.html and Landing.html. In Request.html I have a form with method post. In Landing.html I the posted fields from Request.html is to be shown. This must be handled through server program. My server is indented to handle multiple request. So if I generate a key using guid() and set in response cookie then whether it be returned in Landing.html loading?
Member 10752313
15-Jun-17 6:23am
View
Thankyou, my question is how to get the identity of client request from my server program so that data with the client identity can be saved for further use?
Member 10752313
8-Jan-16 4:25am
View
ok. I have hosted the site in www.test.com. I have a domain name testdomain.com. I have mapped testdomain.com to www.test.com. What I need is if I activate the domain then I can browse the site www.test.com through testdomain.com. And if I deactivate the domain then I can't browse the site www.test.com through testdomain.com. I have to achive this from c# code. Now I think the question is clear?
Member 10752313
18-Dec-15 5:40am
View
Thankyou, but I want the upload button inside the ckeditors which is created dynamically. Not in html.
Member 10752313
17-Dec-15 23:00pm
View
ok thankyou.
Member 10752313
8-Dec-15 6:02am
View
Thank you very much.
Member 10752313
27-Nov-15 5:48am
View
Thank you, I got an idea of its usage.
Member 10752313
27-Nov-15 5:48am
View
Thank you, I got an idea of its usage.
Member 10752313
25-Nov-15 3:10am
View
Thank you. I am developing the web API in C# for a group chat application, no personal chat is possible in the application. The front end for the application is developed using swift. I also want to save the posts and corresponding details to my database. Users can post messages, images to his/her group.
Member 10752313
25-Nov-15 3:08am
View
Thank you. I am developing the web API in C# for a group chat application. The front end for the application is developed using swift. I also want to save the posts and corresponding details to my database. Is it possible to use SignalR for this application? I only have group chat in my application, no personal chat is possible in the application.
Member 10752313
10-Nov-15 22:58pm
View
Ya class name added but its style is not applied to the block while downloading. I want the style to be set before downloading the block?
Member 10752313
10-Nov-15 6:29am
View
var example_css = @".proposalContent {margin-bottom: 10px;cursor: default;} .proposalContentName{font-weight: 700;font-size: 16px;padding: 10px; border-top-left-radius: 3px;border-top-right-radius: 3px;} .proposalContent h5{font-weight: bold;}";
example_css += @".proposalText {font-weight: 400;color: #999999;padding: 10px;border-top: none;border-bottom-left-radius: 3px;border-bottom-right-radius: 3px;}";
example_css += @".table_areaa {padding: 0px;margin: 0px;width: 100%;}";
example_css += @".table {width: 100%;margin-bottom: 20px;border-collapse: collapse;border-spacing: 0;}";
example_css += @".table > thead > tr > th,.table > tbody > tr > th,.table > tfoot > tr > th,.table > thead > tr > td,.table > tbody > tr > td,.table > tfoot > tr > td {padding: 8px;line-height: 1.428571429;vertical-align: top;}";
example_css += @".table > thead > tr > th {vertical-align: bottom;border-bottom: 2px solid #dddddd;}";
example_css += @".table_head {display: table-header-group;background-color: #e2eef4;color: #abb0b0;}";
example_css += @".table_body {background-color: #eef8fd;color: #9a9c9e;}";
example_css += @".row {margin-right: -15px;margin-left: -15px;}";
example_css += @".images ul{padding: 0 0 0 0;margin: 0 0 0 0;}";
example_css += @".images ul li{list-style: none;margin-bottom: 25px;width: 20%;}";
example_css += @".col-lg-2{ position: relative;min-height: 1px;padding-right: 15px;padding-left: 15px;} .col-md-2{position: relative;min-height: 1px;padding-right: 15px;padding-left: 15px;} .col-sm-3{position: relative;min-height: 1px;padding-right: 15px;padding-left: 15px;} .col-xs-4{position: relative;min-height: 1px;padding-right: 15px;padding-left: 15px;}";
example_css += @".images ul li img{cursor: pointer;width: 100%;list-style: none;}";
example_css += @".img{max-width: 100%;vertical-align: middle;border: 0;}";
string html=<div class="proposalContainer">
<span style="width:100%; font-size:25px; color:#50B6FB;" id="spnProposalHeaddiv"><p style="color:#B1B0C0;">Proposal: </p>
test pdf
</span><div class="section" id="section-1" data-status="saved" data-index="1" style="display: block;"><div class="dynamic" id="block-1" data-contenttype="price" data-status="saved" style="display: block;"><div class="edited" style="display: block;">
<div class="proposalContentName">
List Hosting
</div>
<div class="proposalText">
<div class="table_areaa">
<table class="table priceTable table-condensed pricing_table" id="myTable" style="border: 1px solid #b9bdc2;">
<thead class="table_head">
<tr>
<th class=" ">Name/Description</th>
<th class=" ">Price/Unit</th>
<th class=" ">Qty</th>
<th class="">Subtotal</th>
<th class=""></th>
<th class="" style="display:none;"></th>
<th class="" style="display:none;"></th>
<th class="" style="display:none;"></th>
....
I want to add example_css styles in html string controls from controller action?
Member 10752313
10-Nov-15 6:03am
View
Thank you very much. Now I understood.
Member 10752313
10-Nov-15 5:49am
View
Ok Thank you for the information. I am searching and can't get the answer till now.
Member 10752313
10-Nov-15 5:36am
View
Thank you. Thats a good idea. Is there any other way so that we can avoid the parameter in the api to identify the application? That is what I am looking for actually.
Member 10752313
10-Nov-15 5:33am
View
Thank you. Using email and password both the application's login take place. So can I write a common function to login in both applications? If so how should I identify the database in which the username and password to be checked?
Show More