This is the first time I try to use cookies, and despite of reading some
tutotials, I'm have real trouble to make it work correctly. My cookie
reading code is in Master Page. When I click on a test button (in a WEb
User Control inside the aspx page), cookie value is displayed in Master
Page but if I go to another page, no value is displayed...
I need to be able tu use cookie's value across all the site... What am I
doing wrong ?
Code in WebUser control, this code on a button click event:
8<---------------------
HttpContext.Current.Response.Cookies["TestValue"].Value = mstrMyValue;
HttpContext.Current.Response.Cookies["TestValue"].Expires =
DateTime.Today.AddDays(365);
--------------------->8
And this code in OnPreRender of my Master page:
8<---------------------
if (Request.Cookies["TestValue"] != null){
litCookieTest.Text = Response.Cookies["TestValue"].Value;
}else{
litCookieTest.Text = Request.Cookies["TestValue"].Value;
}
--------------------->8 12 2623
Patxi,
If you put a breakpoint in the OnPreRender event handler does it get called
all the time
It is not called all the time. Is it due to caching??
SA
"Patxi" <pa***@yahoo.com> wrote in message
news:44*********************@news.free.fr... This is the first time I try to use cookies, and despite of reading some tutotials, I'm have real trouble to make it work correctly. My cookie reading code is in Master Page. When I click on a test button (in a WEb User Control inside the aspx page), cookie value is displayed in Master Page but if I go to another page, no value is displayed...
I need to be able tu use cookie's value across all the site... What am I doing wrong ?
Code in WebUser control, this code on a button click event:
8<---------------------
HttpContext.Current.Response.Cookies["TestValue"].Value = mstrMyValue; HttpContext.Current.Response.Cookies["TestValue"].Expires = DateTime.Today.AddDays(365);
--------------------->8
And this code in OnPreRender of my Master page:
8<---------------------
if (Request.Cookies["TestValue"] != null){ litCookieTest.Text = Response.Cookies["TestValue"].Value; }else{ litCookieTest.Text = Request.Cookies["TestValue"].Value; } --------------------->8
What is the value of mstrMyValue?
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
Hard work is a medication for which
there is no placebo.
"MSDN" <sq**********@hotmail.com> wrote in message
news:eW**************@TK2MSFTNGP02.phx.gbl... Patxi,
If you put a breakpoint in the OnPreRender event handler does it get called all the time It is not called all the time. Is it due to caching??
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... This is the first time I try to use cookies, and despite of reading some tutotials, I'm have real trouble to make it work correctly. My cookie reading code is in Master Page. When I click on a test button (in a WEb User Control inside the aspx page), cookie value is displayed in Master Page but if I go to another page, no value is displayed...
I need to be able tu use cookie's value across all the site... What am I doing wrong ?
Code in WebUser control, this code on a button click event:
8<---------------------
HttpContext.Current.Response.Cookies["TestValue"].Value = mstrMyValue; HttpContext.Current.Response.Cookies["TestValue"].Expires = DateTime.Today.AddDays(365);
--------------------->8
And this code in OnPreRender of my Master page:
8<---------------------
if (Request.Cookies["TestValue"] != null){ litCookieTest.Text = Response.Cookies["TestValue"].Value; }else{ litCookieTest.Text = Request.Cookies["TestValue"].Value; } --------------------->8
Kevin,
Even if mstrMyValue = "SomeValue" it still does not work
the Cookie value is lost between pages.
Thanks
B
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:uh*************@TK2MSFTNGP02.phx.gbl... What is the value of mstrMyValue?
-- HTH,
Kevin Spencer Microsoft MVP Professional Numbskull
Hard work is a medication for which there is no placebo.
"MSDN" <sq**********@hotmail.com> wrote in message news:eW**************@TK2MSFTNGP02.phx.gbl... Patxi,
If you put a breakpoint in the OnPreRender event handler does it get called all the time It is not called all the time. Is it due to caching??
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... This is the first time I try to use cookies, and despite of reading some tutotials, I'm have real trouble to make it work correctly. My cookie reading code is in Master Page. When I click on a test button (in a WEb User Control inside the aspx page), cookie value is displayed in Master Page but if I go to another page, no value is displayed...
I need to be able tu use cookie's value across all the site... What am I doing wrong ?
Code in WebUser control, this code on a button click event:
8<---------------------
HttpContext.Current.Response.Cookies["TestValue"].Value = mstrMyValue; HttpContext.Current.Response.Cookies["TestValue"].Expires = DateTime.Today.AddDays(365);
--------------------->8
And this code in OnPreRender of my Master page:
8<---------------------
if (Request.Cookies["TestValue"] != null){ litCookieTest.Text = Response.Cookies["TestValue"].Value; }else{ litCookieTest.Text = Request.Cookies["TestValue"].Value; } --------------------->8
I have no chache settings...
MSDN wrote: Patxi,
If you put a breakpoint in the OnPreRender event handler does it get called all the time It is not called all the time. Is it due to caching??
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... This is the first time I try to use cookies, and despite of reading some tutotials, I'm have real trouble to make it work correctly. My cookie reading code is in Master Page. When I click on a test button (in a WEb User Control inside the aspx page), cookie value is displayed in Master Page but if I go to another page, no value is displayed...
I need to be able tu use cookie's value across all the site... What am I doing wrong ?
Code in WebUser control, this code on a button click event:
8<---------------------
HttpContext.Current.Response.Cookies["TestValue"].Value = mstrMyValue; HttpContext.Current.Response.Cookies["TestValue"].Expires = DateTime.Today.AddDays(365);
--------------------->8
And this code in OnPreRender of my Master page:
8<---------------------
if (Request.Cookies["TestValue"] != null){ litCookieTest.Text = Response.Cookies["TestValue"].Value; }else{ litCookieTest.Text = Request.Cookies["TestValue"].Value; } --------------------->8
My main problem is that I set cookie's value in Default.aspx, and when I
refresh the page or visit another page, I'm unable to retreive
cookie's value...
I think that cookie is only saved between pages refresh instead of
having a 'site' cookie...
I really try to applicate tutorials, but I think I'm missing something...
Dumbell wrote: Kevin,
Even if mstrMyValue = "SomeValue" it still does not work the Cookie value is lost between pages.
Thanks
B
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message news:uh*************@TK2MSFTNGP02.phx.gbl... What is the value of mstrMyValue?
-- HTH,
Kevin Spencer Microsoft MVP Professional Numbskull
Hard work is a medication for which there is no placebo.
"MSDN" <sq**********@hotmail.com> wrote in message news:eW**************@TK2MSFTNGP02.phx.gbl... Patxi,
If you put a breakpoint in the OnPreRender event handler does it get called all the time It is not called all the time. Is it due to caching??
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... This is the first time I try to use cookies, and despite of reading some tutotials, I'm have real trouble to make it work correctly. My cookie reading code is in Master Page. When I click on a test button (in a WEb User Control inside the aspx page), cookie value is displayed in Master Page but if I go to another page, no value is displayed...
I need to be able tu use cookie's value across all the site... What am I doing wrong ?
Code in WebUser control, this code on a button click event:
8<---------------------
HttpContext.Current.Response.Cookies["TestValue"].Value = mstrMyValue; HttpContext.Current.Response.Cookies["TestValue"].Expires = DateTime.Today.AddDays(365);
--------------------->8
And this code in OnPreRender of my Master page:
8<---------------------
if (Request.Cookies["TestValue"] != null){ litCookieTest.Text = Response.Cookies["TestValue"].Value; }else{ litCookieTest.Text = Request.Cookies["TestValue"].Value; } --------------------->8
This is very strange I am having the same problem you are having using your
example.
it seems that the cookie is saved for a specific page and not the entire
website.
I suspected that may be it has to do with ASP.NET 2.0 and VS 2005 and the
WebServer with PORT NUMBER etc...
So I moved the sample I have to a web site and the same thing is happening.
The cookie does not have to persist.
Still looking for an answer.
SA
"Patxi" <pa***@yahoo.com> wrote in message
news:44*********************@news.free.fr... I have no chache settings...
MSDN wrote: Patxi,
If you put a breakpoint in the OnPreRender event handler does it get called all the time It is not called all the time. Is it due to caching??
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... This is the first time I try to use cookies, and despite of reading some tutotials, I'm have real trouble to make it work correctly. My cookie reading code is in Master Page. When I click on a test button (in a WEb User Control inside the aspx page), cookie value is displayed in Master Page but if I go to another page, no value is displayed...
I need to be able tu use cookie's value across all the site... What am I doing wrong ?
Code in WebUser control, this code on a button click event:
8<---------------------
HttpContext.Current.Response.Cookies["TestValue"].Value = mstrMyValue; HttpContext.Current.Response.Cookies["TestValue"].Expires = DateTime.Today.AddDays(365);
--------------------->8
And this code in OnPreRender of my Master page:
8<---------------------
if (Request.Cookies["TestValue"] != null){ litCookieTest.Text = Response.Cookies["TestValue"].Value; }else{ litCookieTest.Text = Request.Cookies["TestValue"].Value; } --------------------->8
For the record, I'm using an IIS virtual directory, running IIS 5.0...
MSDN wrote: This is very strange I am having the same problem you are having using your example. it seems that the cookie is saved for a specific page and not the entire website. I suspected that may be it has to do with ASP.NET 2.0 and VS 2005 and the WebServer with PORT NUMBER etc... So I moved the sample I have to a web site and the same thing is happening. The cookie does not have to persist. Still looking for an answer.
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... I have no chache settings...
MSDN wrote: Patxi,
If you put a breakpoint in the OnPreRender event handler does it get called all the time It is not called all the time. Is it due to caching??
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... This is the first time I try to use cookies, and despite of reading some tutotials, I'm have real trouble to make it work correctly. My cookie reading code is in Master Page. When I click on a test button (in a WEb User Control inside the aspx page), cookie value is displayed in Master Page but if I go to another page, no value is displayed...
I need to be able tu use cookie's value across all the site... What am I doing wrong ?
Code in WebUser control, this code on a button click event:
8<---------------------
HttpContext.Current.Response.Cookies["TestValue"].Value = mstrMyValue; HttpContext.Current.Response.Cookies["TestValue"].Expires = DateTime.Today.AddDays(365);
--------------------->8
And this code in OnPreRender of my Master page:
8<---------------------
if (Request.Cookies["TestValue"] != null){ litCookieTest.Text = Response.Cookies["TestValue"].Value; }else{ litCookieTest.Text = Request.Cookies["TestValue"].Value; } --------------------->8
Patxi,
Have you tired this without master page?
I am using IIS 5.1, Win XP Pro
SA
"Patxi" <pa***@yahoo.com> wrote in message
news:44*********************@news.free.fr... For the record, I'm using an IIS virtual directory, running IIS 5.0...
MSDN wrote: This is very strange I am having the same problem you are having using your example. it seems that the cookie is saved for a specific page and not the entire website. I suspected that may be it has to do with ASP.NET 2.0 and VS 2005 and the WebServer with PORT NUMBER etc... So I moved the sample I have to a web site and the same thing is happening. The cookie does not have to persist. Still looking for an answer.
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... I have no chache settings...
MSDN wrote: Patxi,
If you put a breakpoint in the OnPreRender event handler does it get called all the time It is not called all the time. Is it due to caching??
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... > This is the first time I try to use cookies, and despite of reading > some tutotials, I'm have real trouble to make it work correctly. My > cookie reading code is in Master Page. When I click on a test button > (in a WEb User Control inside the aspx page), cookie value is > displayed in Master Page but if I go to another page, no value is > displayed... > > I need to be able tu use cookie's value across all the site... What am > I doing wrong ? > > Code in WebUser control, this code on a button click event: > > 8<--------------------- > > HttpContext.Current.Response.Cookies["TestValue"].Value = mstrMyValue; > HttpContext.Current.Response.Cookies["TestValue"].Expires = > DateTime.Today.AddDays(365); > > --------------------->8 > > And this code in OnPreRender of my Master page: > > 8<--------------------- > > if (Request.Cookies["TestValue"] != null){ > litCookieTest.Text = Response.Cookies["TestValue"].Value; > }else{ > litCookieTest.Text = Request.Cookies["TestValue"].Value; > } > --------------------->8
I stopped trying it, I'm trying Profile system... But I have a big
problem, since it works against SQL and I'm developping a 3 tier
application, so I would like to use my BLL or a single XML file to store
profiles, but I'm unable to find an implemention in XML...
I'm studying http://msdn.microsoft.com/library/de...ovMod_Prt5.asp
but I can't find a more realistic example of xml driven
ProfileProvider... Can you point me to a more practical site ?
Thanks
MSDN wrote: Patxi,
Have you tired this without master page? I am using IIS 5.1, Win XP Pro
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... For the record, I'm using an IIS virtual directory, running IIS 5.0...
MSDN wrote: This is very strange I am having the same problem you are having using your example. it seems that the cookie is saved for a specific page and not the entire website. I suspected that may be it has to do with ASP.NET 2.0 and VS 2005 and the WebServer with PORT NUMBER etc... So I moved the sample I have to a web site and the same thing is happening. The cookie does not have to persist. Still looking for an answer.
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... I have no chache settings...
MSDN wrote: > Patxi, > > If you put a breakpoint in the OnPreRender event handler does it get > called all the time > It is not called all the time. Is it due to caching?? > > SA > > "Patxi" <pa***@yahoo.com> wrote in message > news:44*********************@news.free.fr... >> This is the first time I try to use cookies, and despite of reading >> some tutotials, I'm have real trouble to make it work correctly. My >> cookie reading code is in Master Page. When I click on a test button >> (in a WEb User Control inside the aspx page), cookie value is >> displayed in Master Page but if I go to another page, no value is >> displayed... >> >> I need to be able tu use cookie's value across all the site... What am >> I doing wrong ? >> >> Code in WebUser control, this code on a button click event: >> >> 8<--------------------- >> >> HttpContext.Current.Response.Cookies["TestValue"].Value = mstrMyValue; >> HttpContext.Current.Response.Cookies["TestValue"].Expires = >> DateTime.Today.AddDays(365); >> >> --------------------->8 >> >> And this code in OnPreRender of my Master page: >> >> 8<--------------------- >> >> if (Request.Cookies["TestValue"] != null){ >> litCookieTest.Text = Response.Cookies["TestValue"].Value; >> }else{ >> litCookieTest.Text = Request.Cookies["TestValue"].Value; >> } >> --------------------->8
Incredible !!!
I'm testing with Profile and I'm having the same problem...
I create a Web User control (ProfileViewer.ascx) with a label, and this
code in the Page_Load event:
Label1.Text = Profile.FirstName;
I have another Web User control (ProfileSetCtrl.ascx) with a button and
this code on button's click event:
Profile.FirstName = mstrMyValue; (mstrMyValue is the path of jpg file)
In my Default.aspx file, I scan for jpgs in a directory and load one
ProfileSetCtrl.ascx per jpg, passing the jpg file path...
I click on button displaying 1.jpg, ProfileViewer.ascx shows the default
value configured in Web.config displayed...
I click on button displaying 3.jpg, and ProfileViewer.ascx shows 1.jpg...
What am I missing ?
Thanks
MSDN wrote: Patxi,
Have you tired this without master page? I am using IIS 5.1, Win XP Pro
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... For the record, I'm using an IIS virtual directory, running IIS 5.0...
MSDN wrote: This is very strange I am having the same problem you are having using your example. it seems that the cookie is saved for a specific page and not the entire website. I suspected that may be it has to do with ASP.NET 2.0 and VS 2005 and the WebServer with PORT NUMBER etc... So I moved the sample I have to a web site and the same thing is happening. The cookie does not have to persist. Still looking for an answer.
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... I have no chache settings...
MSDN wrote: > Patxi, > > If you put a breakpoint in the OnPreRender event handler does it get > called all the time > It is not called all the time. Is it due to caching?? > > SA > > "Patxi" <pa***@yahoo.com> wrote in message > news:44*********************@news.free.fr... >> This is the first time I try to use cookies, and despite of reading >> some tutotials, I'm have real trouble to make it work correctly. My >> cookie reading code is in Master Page. When I click on a test button >> (in a WEb User Control inside the aspx page), cookie value is >> displayed in Master Page but if I go to another page, no value is >> displayed... >> >> I need to be able tu use cookie's value across all the site... What am >> I doing wrong ? >> >> Code in WebUser control, this code on a button click event: >> >> 8<--------------------- >> >> HttpContext.Current.Response.Cookies["TestValue"].Value = mstrMyValue; >> HttpContext.Current.Response.Cookies["TestValue"].Expires = >> DateTime.Today.AddDays(365); >> >> --------------------->8 >> >> And this code in OnPreRender of my Master page: >> >> 8<--------------------- >> >> if (Request.Cookies["TestValue"] != null){ >> litCookieTest.Text = Response.Cookies["TestValue"].Value; >> }else{ >> litCookieTest.Text = Request.Cookies["TestValue"].Value; >> } >> --------------------->8
This is extremely frustration for me also I have no Idea
It seems no one else is reading this at all
May be bring this question back to the top of the list and lets start over
again.
Sorry...
SA
"Patxi" <pa***@yahoo.com> wrote in message
news:44*********************@news.free.fr... Incredible !!!
I'm testing with Profile and I'm having the same problem...
I create a Web User control (ProfileViewer.ascx) with a label, and this code in the Page_Load event:
Label1.Text = Profile.FirstName;
I have another Web User control (ProfileSetCtrl.ascx) with a button and this code on button's click event:
Profile.FirstName = mstrMyValue; (mstrMyValue is the path of jpg file)
In my Default.aspx file, I scan for jpgs in a directory and load one ProfileSetCtrl.ascx per jpg, passing the jpg file path...
I click on button displaying 1.jpg, ProfileViewer.ascx shows the default value configured in Web.config displayed...
I click on button displaying 3.jpg, and ProfileViewer.ascx shows 1.jpg...
What am I missing ?
Thanks
MSDN wrote: Patxi,
Have you tired this without master page? I am using IIS 5.1, Win XP Pro
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... For the record, I'm using an IIS virtual directory, running IIS 5.0...
MSDN wrote: This is very strange I am having the same problem you are having using your example. it seems that the cookie is saved for a specific page and not the entire website. I suspected that may be it has to do with ASP.NET 2.0 and VS 2005 and the WebServer with PORT NUMBER etc... So I moved the sample I have to a web site and the same thing is happening. The cookie does not have to persist. Still looking for an answer.
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... > I have no chache settings... > > MSDN wrote: >> Patxi, >> >> If you put a breakpoint in the OnPreRender event handler does it get >> called all the time >> It is not called all the time. Is it due to caching?? >> >> SA >> >> "Patxi" <pa***@yahoo.com> wrote in message >> news:44*********************@news.free.fr... >>> This is the first time I try to use cookies, and despite of reading >>> some tutotials, I'm have real trouble to make it work correctly. My >>> cookie reading code is in Master Page. When I click on a test >>> button (in a WEb User Control inside the aspx page), cookie value is >>> displayed in Master Page but if I go to another page, no value is >>> displayed... >>> >>> I need to be able tu use cookie's value across all the site... What >>> am I doing wrong ? >>> >>> Code in WebUser control, this code on a button click event: >>> >>> 8<--------------------- >>> >>> HttpContext.Current.Response.Cookies["TestValue"].Value = >>> mstrMyValue; >>> HttpContext.Current.Response.Cookies["TestValue"].Expires = >>> DateTime.Today.AddDays(365); >>> >>> --------------------->8 >>> >>> And this code in OnPreRender of my Master page: >>> >>> 8<--------------------- >>> >>> if (Request.Cookies["TestValue"] != null){ >>> litCookieTest.Text = Response.Cookies["TestValue"].Value; >>> }else{ >>> litCookieTest.Text = Request.Cookies["TestValue"].Value; >>> } >>> --------------------->8
I solved it adding this:
this.Context.Response.Redirect(this.Context.Reques t.Url.ToString());
after setting profile's value...
MSDN wrote: This is extremely frustration for me also I have no Idea It seems no one else is reading this at all
May be bring this question back to the top of the list and lets start over again.
Sorry...
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... Incredible !!!
I'm testing with Profile and I'm having the same problem...
I create a Web User control (ProfileViewer.ascx) with a label, and this code in the Page_Load event:
Label1.Text = Profile.FirstName;
I have another Web User control (ProfileSetCtrl.ascx) with a button and this code on button's click event:
Profile.FirstName = mstrMyValue; (mstrMyValue is the path of jpg file)
In my Default.aspx file, I scan for jpgs in a directory and load one ProfileSetCtrl.ascx per jpg, passing the jpg file path...
I click on button displaying 1.jpg, ProfileViewer.ascx shows the default value configured in Web.config displayed...
I click on button displaying 3.jpg, and ProfileViewer.ascx shows 1.jpg...
What am I missing ?
Thanks
MSDN wrote: Patxi,
Have you tired this without master page? I am using IIS 5.1, Win XP Pro
SA
"Patxi" <pa***@yahoo.com> wrote in message news:44*********************@news.free.fr... For the record, I'm using an IIS virtual directory, running IIS 5.0...
MSDN wrote: > This is very strange I am having the same problem you are having using > your example. > it seems that the cookie is saved for a specific page and not the > entire website. > I suspected that may be it has to do with ASP.NET 2.0 and VS 2005 and > the WebServer with PORT NUMBER etc... > So I moved the sample I have to a web site and the same thing is > happening. > The cookie does not have to persist. > Still looking for an answer. > > SA > > "Patxi" <pa***@yahoo.com> wrote in message > news:44*********************@news.free.fr... >> I have no chache settings... >> >> MSDN wrote: >>> Patxi, >>> >>> If you put a breakpoint in the OnPreRender event handler does it get >>> called all the time >>> It is not called all the time. Is it due to caching?? >>> >>> SA >>> >>> "Patxi" <pa***@yahoo.com> wrote in message >>> news:44*********************@news.free.fr... >>>> This is the first time I try to use cookies, and despite of reading >>>> some tutotials, I'm have real trouble to make it work correctly. My >>>> cookie reading code is in Master Page. When I click on a test >>>> button (in a WEb User Control inside the aspx page), cookie value is >>>> displayed in Master Page but if I go to another page, no value is >>>> displayed... >>>> >>>> I need to be able tu use cookie's value across all the site... What >>>> am I doing wrong ? >>>> >>>> Code in WebUser control, this code on a button click event: >>>> >>>> 8<--------------------- >>>> >>>> HttpContext.Current.Response.Cookies["TestValue"].Value = >>>> mstrMyValue; >>>> HttpContext.Current.Response.Cookies["TestValue"].Expires = >>>> DateTime.Today.AddDays(365); >>>> >>>> --------------------->8 >>>> >>>> And this code in OnPreRender of my Master page: >>>> >>>> 8<--------------------- >>>> >>>> if (Request.Cookies["TestValue"] != null){ >>>> litCookieTest.Text = Response.Cookies["TestValue"].Value; >>>> }else{ >>>> litCookieTest.Text = Request.Cookies["TestValue"].Value; >>>> } >>>> --------------------->8 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: TJO |
last post by:
Can someone at MS please reply to this. I am trying to post data so a web
form via ssl with the following code. I keep getting this error: "The
underlying connection was closed: Could not...
|
by: Netanel |
last post by:
Hi,
I have a site that I developed in ASP / VBScript.
Some of the visitors are complaining that they can't get in into the system
(using the login form of-course).
My login form includes...
|
by: patbaudy |
last post by:
Hi,
I'm coding a shopping cart in asp. I store all info about ordered items,
customer's coordonates, etc...into cookies.
When the order is complete I use "CDONTS.NewMail" to send an order...
|
by: rushik |
last post by:
Dear all,
We have created a business portal for our organization. The technology
used for that is LAMP.
Our major access management system of the portal is based on cookies.
we set some user...
|
by: Claudio |
last post by:
I have a demo app where cookies does not work.
The first page create a cookies. The second read the contet.
If I browse the pages via IE6.0 the pages does not work.
If I browse the pages via...
|
by: André |
last post by:
Hi,
I try to insert a graphic (bitmap) to the first file. No problem any more
with that.
But the graphic generated in the second file (graf2.aspx) must receive
values from the the first file. I...
|
by: lawrence k |
last post by:
This site was working:
http://www.thesecondroad.org/
Now I'm told people are unable to create new accounts or log in.
One theory: It seems that cookies are not being set. Our beta testers...
|
by: jacusp |
last post by:
Hi,
I have problem with reading cookies.
I'd like to save fields of my form into cookies and use them by
another page.
I save cookies:
foreach ($_POST as $idx =$value)
{
setcookie($idx,...
|
by: cmrchs |
last post by:
Hi,
In Windows Vista: where does asp.net write its cookies?
I use
HttpCookie objCookie = new HttpCookie("nameCookie");
in Win2000 (and later) they used to be in
C:\Documents and...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
| |