All Questions

1
answer

How to delete a cookie correctly when logging?

I have a series of cookies and sessions which are created at the time of login in a successful way in an application. My question is how can I eliminate these cookies and session created at the time of logout? I ha...
asked on 14.06.2018 / 21:01
2
answers

How to dynamically remove a UserControl in c # .net from the form?

I have a UserControl that is dynamically added to a FlowLayoutPanel . In that same UserControl I have a button to remove itself if the user wants, obviously at runtime. I need to delete it from Form . I tried this but n...
asked on 14.06.2018 / 04:47
1
answer

Query several fields of a node in firebase

When doing a query in firebase in a node like in this case the document, I want to bring two fields of that node and put them in a variable String, to add information to the database I do not use login, I use the push method ( ). when clickin...
asked on 12.06.2018 / 23:46
2
answers

MYSQL does not allow entering the engine

I have mysql installed on ubuntu but when I want to enter the databases with the command: sudo mysql -u root -p It does not allow me to enter, the following error appears: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (usi...
asked on 04.06.2018 / 22:06
1
answer

Problem removing blanks at the end of a char type pointer *

I have a problem with this function. I'm trying to eliminate blank spaces at the end of a char * pointer. Something like this: char *ptr = "Soy un puntero dinĂ¡mico y me sobran espacios al final "; With the difference that this is s...
asked on 12.06.2018 / 12:23
3
answers

my slideshow is mounted to my menu in HTML

I am developing a web page. This has a menu and below it there is a slideshow but at the moment of squashing down the slideshow is superimposed on the menu and I do not know why that happens. ccs CSS DEL MENU: * { margin: 0; pa...
asked on 23.02.2018 / 16:00
1
answer

Pass dynamic array by AJAX

EDITED I am trying to send the following data with AJAX var datosInsert = JSON.stringify({ 'datosCarga': valoresEntrada, //[1,2,3] 'loteCaja': fieldLote, //101 'cajaLote': numeroCaja //1 }); $.ajax({...
asked on 20.02.2018 / 23:11
1
answer

redirect view with @if in laravel

I am trying to redirect to a view in laravel if the user fulfills a membership (membership = stage), but this only returns text to me instead of the view, my code is as follows: @if (Auth::check()) @if(Auth::user()->etapa == 1) @retur...
asked on 14.06.2018 / 02:02
2
answers

Save CFDI payment elements in c #

I have an XML CFDI version 3.3 and I want to save the attributes of the DoctoRelated node. It works for me to save the attributes of the first node, the problem is that in some XML I get more than 1 node DoctoRelacionado and only saves the first...
asked on 23.02.2018 / 18:39
1
answer

Difference between then, observable and subscribe

I have seen some codes where the functions of then , observable , and subscribe are used. I'm not sure but I think that all are doing the same, I would like to know with an example if it is possible what is the difference betw...
asked on 12.06.2018 / 15:23