473,587 Members | 2,291 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Writing cookies

Hi all,

Anyone see anything wrong with the following:
*************** *************** *************** *************** ***
<%@ LANGUAGE="VBSCR IPT" %>
<%
Option Explicit

Dim nAcctNbr
Dim nMsgStart
Dim nMsgEnd

If Not(Request.Coo kies("AcctNbr") ="") Then
nAcctNbr = CInt(Request.Co okies("AcctNbr" ))
End If
If Not(Request.Coo kies("MsgStart" )="") Then
nMsgStart = CInt(Request.Co okies("MsgStart "))
End If
If Not(Request.Coo kies("MsgEnd")= "") Then
nMsgEnd = CInt(Request.Co okies("MsgEnd") )
End If

If Not (Session("USE_X ML") = "True") Then
%>
<HTML>
<head>
<meta name="VI60_DTCS criptingPlatfor m" content="Server (ASP)">
<meta name="GENERATOR " content="Micros oft FrontPage 5.0">
<meta name="ProgId" content="FrontP age.Editor.Docu ment">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<BODY>
<form method="post" action="page2.a sp" name="Page1Frm" >
From: <input type="text" width=100 name="FIRST" size="20"><BR>
Until: <input type="text" width=100 name="LAST" size="20"><BR>
Bundle id: <input type="text" width=100 name="BUNDLE_ID "
size="20"><BR>
<input type="submit" value="Submit" name="submit">
</form>
<%
Else 'if using XML
nAcctNbr = 0
nMsgStart = 0
nMsgEnd = 9
Response.Cookie s("AcctNbr") = nAcctNbr
Response.Cookie s("MsgStart") = nMsgStart
Response.Cookie s("MsgEnd") = nMsgEnd
Response.Cookie s("AcctNbr").Ex pires = DateAdd("d", 2, Now)
Response.Cookie s("MsgStart").E xpires= DateAdd("d", 2, Now)
Response.Cookie s("MsgEnd").Exp ires = DateAdd("d", 2, Now)
%>
<HTML>
<head>
<meta name="VI60_DTCS criptingPlatfor m" content="Server (ASP)">
<meta name="GENERATOR " content="Micros oft FrontPage 5.0">
<meta name="ProgId" content="FrontP age.Editor.Docu ment">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<BODY>
<FORM>
<XML ID="XMLID">
<%
Response.write "Finished."
%>
</XML>
<script language="JavaS cript">
<!--
alert("Finished ...");
-->
</script>
<BR>Complete<p> <BR>
</FORM>
</BODY>
</HTML>
<%
End if 'USE_XML
%>
*************** *************** *************** *************** ***

This has been tested on IE60 and Pocket IE. The cookies are NOT
writing to either browser.. :-(

Thanks for any insight in advance..

-BB
Jul 19 '05 #1
7 2989
Is the code actually running? I notice it's in a conditional block

_______________ _______________ __________
Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

newsflash : Atrax.Richedit 1.0 now released.
http://rtfm.atrax.co.uk/infinitemonk...trax.RichEdit/

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #2
Your refering to the USE_XML condition?

Yes this gets executed correctly .. I get the 'alert("Finishe d.")'
message in the <script> below the code for setting the cookies.
On Wed, 10 Sep 2003 01:02:25 -0700, Atrax <at***@dontspam atrax.co.uk>
wrote:
Is the code actually running? I notice it's in a conditional block

______________ _______________ ___________
Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

newsflash : Atrax.Richedit 1.0 now released.
http://rtfm.atrax.co.uk/infinitemonk...trax.RichEdit/

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Jul 19 '05 #3
Hi Brian,

The code that sets the cookies is in an IF statement. Perhaps that section
of the IF statement is not being executed. Please move your Response.write
"Finished" statement to the ELSE section of the IF statement to verify that
the ELSE section is being executed.

Also, as an additional test, you have a segment of code as follows:
If Not(Request.Coo kies("AcctNbr") ="") Then
nAcctNbr = CInt(Request.Co okies("AcctNbr" ))
End If

Change this to:
If Not(Request.Coo kies("AcctNbr") ="") Then
nAcctNbr = CInt(Request.Co okies("AcctNbr" ))
Response.write Request.Cookies ("AcctNbr")
End If

Thank you, Mike
Microsoft, ASP.NET

Microsoft Security Announcement: Have you installed the patch for Microsoft
Security Bulletin MS03-039? If not, Microsoft strongly advises you to
review the information at the following link regarding Microsoft Security
Bulletin MS03-039
http://www.microsoft.com/technet/sec...n/ms03-039.asp and/or to
visit Windows Update at http://windowsupdate.microsoft.com to install the
patch. Running the Windows Update scan will help to insure you are current
with all security patches, not just MS03-039.

Microsoft also highly recommends to all customers that you visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computer’s security.

This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
From: Brian Burgess <bb********@hot mail.com>
Subject: Re: Writing cookies
Date: Wed, 10 Sep 2003 16:12:11 +0800
Message-ID: <l1************ *************** *****@4ax.com>
References: <8b************ *************** *****@4ax.com> <uY************ **@TK2MSFTNGP12 .phx.gbl> X-Newsreader: Forte Free Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: microsoft.publi c.inetserver.as p.general
NNTP-Posting-Host: vp161007.kln.ua c1.hknet.com 203.169.161.7
Lines: 1
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.inetserver.as p.general:25217 4
X-Tomcat-NG: microsoft.publi c.inetserver.as p.general

Your refering to the USE_XML condition?

Yes this gets executed correctly .. I get the 'alert("Finishe d.")'
message in the <script> below the code for setting the cookies.
On Wed, 10 Sep 2003 01:02:25 -0700, Atrax <at***@dontspam atrax.co.uk>
wrote:
Is the code actually running? I notice it's in a conditional block

______________ _______________ ___________
Atrax. MVP, IIS
http://rtfm.atrax.co.uk/

newsflash : Atrax.Richedit 1.0 now released.
http://rtfm.atrax.co.uk/infinitemonk...trax.RichEdit/

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Jul 19 '05 #4
Well I have tried both these already for verification. Just is not
included in the code posted here for simplicity sake. Yes it is
verified that the proper section executes. Actually I can even step
through in a VID debugger...

On Wed, 10 Sep 2003 20:52:16 GMT, mi****@online.m icrosoft.com ("Mike
Moore [MSFT]") wrote:
Hi Brian,

The code that sets the cookies is in an IF statement. Perhaps that section
of the IF statement is not being executed. Please move your Response.write
"Finished" statement to the ELSE section of the IF statement to verify that
the ELSE section is being executed.

Also, as an additional test, you have a segment of code as follows:
If Not(Request.Coo kies("AcctNbr") ="") Then
nAcctNbr = CInt(Request.Co okies("AcctNbr" ))
End If

Change this to:
If Not(Request.Coo kies("AcctNbr") ="") Then
nAcctNbr = CInt(Request.Co okies("AcctNbr" ))
Response.write Request.Cookies ("AcctNbr")
End If

Thank you, Mike
Microsoft, ASP.NET

Microsoft Security Announcement: Have you installed the patch for Microsoft
Security Bulletin MS03-039? If not, Microsoft strongly advises you to
review the information at the following link regarding Microsoft Security
Bulletin MS03-039
http://www.microsoft.com/technet/sec...n/ms03-039.asp and/or to
visit Windows Update at http://windowsupdate.microsoft.com to install the
patch. Running the Windows Update scan will help to insure you are current
with all security patches, not just MS03-039.

Microsoft also highly recommends to all customers that you visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computer’s security.

This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
From: Brian Burgess <bb********@hot mail.com>
Subject: Re: Writing cookies
Date: Wed, 10 Sep 2003 16:12:11 +0800
Message-ID: <l1************ *************** *****@4ax.com>
References: <8b************ *************** *****@4ax.com>

<uY*********** ***@TK2MSFTNGP1 2.phx.gbl>
X-Newsreader: Forte Free Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: microsoft.publi c.inetserver.as p.general
NNTP-Posting-Host: vp161007.kln.ua c1.hknet.com 203.169.161.7
Lines: 1
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.inetserver.as p.general:25217 4
X-Tomcat-NG: microsoft.publi c.inetserver.as p.general

Your refering to the USE_XML condition?

Yes this gets executed correctly .. I get the 'alert("Finishe d.")'
message in the <script> below the code for setting the cookies.
On Wed, 10 Sep 2003 01:02:25 -0700, Atrax <at***@dontspam atrax.co.uk>
wrote:
>Is the code actually running? I notice it's in a conditional block
>
>______________ _______________ ___________
>Atrax. MVP, IIS
>http://rtfm.atrax.co.uk/
>
>newsflash : Atrax.Richedit 1.0 now released.
>http://rtfm.atrax.co.uk/infinitemonk...trax.RichEdit/
>
>*** Sent via Developersdex http://www.developersdex.com ***
>Don't just participate in USENET...get rewarded for it!



Jul 19 '05 #5
Does there have to be a form to submit after setting a cookie??

On Wed, 10 Sep 2003 20:52:16 GMT, mi****@online.m icrosoft.com ("Mike
Moore [MSFT]") wrote:
Hi Brian,

The code that sets the cookies is in an IF statement. Perhaps that section
of the IF statement is not being executed. Please move your Response.write
"Finished" statement to the ELSE section of the IF statement to verify that
the ELSE section is being executed.

Also, as an additional test, you have a segment of code as follows:
If Not(Request.Coo kies("AcctNbr") ="") Then
nAcctNbr = CInt(Request.Co okies("AcctNbr" ))
End If

Change this to:
If Not(Request.Coo kies("AcctNbr") ="") Then
nAcctNbr = CInt(Request.Co okies("AcctNbr" ))
Response.write Request.Cookies ("AcctNbr")
End If

Thank you, Mike
Microsoft, ASP.NET

Microsoft Security Announcement: Have you installed the patch for Microsoft
Security Bulletin MS03-039? If not, Microsoft strongly advises you to
review the information at the following link regarding Microsoft Security
Bulletin MS03-039
http://www.microsoft.com/technet/sec...n/ms03-039.asp and/or to
visit Windows Update at http://windowsupdate.microsoft.com to install the
patch. Running the Windows Update scan will help to insure you are current
with all security patches, not just MS03-039.

Microsoft also highly recommends to all customers that you visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computer’s security.

This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
From: Brian Burgess <bb********@hot mail.com>
Subject: Re: Writing cookies
Date: Wed, 10 Sep 2003 16:12:11 +0800
Message-ID: <l1************ *************** *****@4ax.com>
References: <8b************ *************** *****@4ax.com>

<uY*********** ***@TK2MSFTNGP1 2.phx.gbl>
X-Newsreader: Forte Free Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: microsoft.publi c.inetserver.as p.general
NNTP-Posting-Host: vp161007.kln.ua c1.hknet.com 203.169.161.7
Lines: 1
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.inetserver.as p.general:25217 4
X-Tomcat-NG: microsoft.publi c.inetserver.as p.general

Your refering to the USE_XML condition?

Yes this gets executed correctly .. I get the 'alert("Finishe d.")'
message in the <script> below the code for setting the cookies.
On Wed, 10 Sep 2003 01:02:25 -0700, Atrax <at***@dontspam atrax.co.uk>
wrote:
>Is the code actually running? I notice it's in a conditional block
>
>______________ _______________ ___________
>Atrax. MVP, IIS
>http://rtfm.atrax.co.uk/
>
>newsflash : Atrax.Richedit 1.0 now released.
>http://rtfm.atrax.co.uk/infinitemonk...trax.RichEdit/
>
>*** Sent via Developersdex http://www.developersdex.com ***
>Don't just participate in USENET...get rewarded for it!



Jul 19 '05 #6
This ASP is in a file that gets Server.Execute' d in a loop. If the
Server.Execute in the calling ASP is within an HTML tag, will that
have an effect?

On Wed, 10 Sep 2003 20:52:16 GMT, mi****@online.m icrosoft.com ("Mike
Moore [MSFT]") wrote:
Hi Brian,

The code that sets the cookies is in an IF statement. Perhaps that section
of the IF statement is not being executed. Please move your Response.write
"Finished" statement to the ELSE section of the IF statement to verify that
the ELSE section is being executed.

Also, as an additional test, you have a segment of code as follows:
If Not(Request.Coo kies("AcctNbr") ="") Then
nAcctNbr = CInt(Request.Co okies("AcctNbr" ))
End If

Change this to:
If Not(Request.Coo kies("AcctNbr") ="") Then
nAcctNbr = CInt(Request.Co okies("AcctNbr" ))
Response.write Request.Cookies ("AcctNbr")
End If

Thank you, Mike
Microsoft, ASP.NET

Microsoft Security Announcement: Have you installed the patch for Microsoft
Security Bulletin MS03-039? If not, Microsoft strongly advises you to
review the information at the following link regarding Microsoft Security
Bulletin MS03-039
http://www.microsoft.com/technet/sec...n/ms03-039.asp and/or to
visit Windows Update at http://windowsupdate.microsoft.com to install the
patch. Running the Windows Update scan will help to insure you are current
with all security patches, not just MS03-039.

Microsoft also highly recommends to all customers that you visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computer’s security.

This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
From: Brian Burgess <bb********@hot mail.com>
Subject: Re: Writing cookies
Date: Wed, 10 Sep 2003 16:12:11 +0800
Message-ID: <l1************ *************** *****@4ax.com>
References: <8b************ *************** *****@4ax.com>

<uY*********** ***@TK2MSFTNGP1 2.phx.gbl>
X-Newsreader: Forte Free Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: microsoft.publi c.inetserver.as p.general
NNTP-Posting-Host: vp161007.kln.ua c1.hknet.com 203.169.161.7
Lines: 1
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.inetserver.as p.general:25217 4
X-Tomcat-NG: microsoft.publi c.inetserver.as p.general

Your refering to the USE_XML condition?

Yes this gets executed correctly .. I get the 'alert("Finishe d.")'
message in the <script> below the code for setting the cookies.
On Wed, 10 Sep 2003 01:02:25 -0700, Atrax <at***@dontspam atrax.co.uk>
wrote:
>Is the code actually running? I notice it's in a conditional block
>
>______________ _______________ ___________
>Atrax. MVP, IIS
>http://rtfm.atrax.co.uk/
>
>newsflash : Atrax.Richedit 1.0 now released.
>http://rtfm.atrax.co.uk/infinitemonk...trax.RichEdit/
>
>*** Sent via Developersdex http://www.developersdex.com ***
>Don't just participate in USENET...get rewarded for it!



Jul 19 '05 #7
Hi Brian,

Sorry for the delay. It does not matter if the server-side code is inside
an HTML tag. The server-side code can be anywhere in the page.

I'd like to return to basics for this. Please start a new blank page and
add this code. Then browse it and then refresh the page with IE and Pocket
IE. Then post the results.
<%
Response.Write Request.Cookies ("abc")
Response.Cookie s("abc") = "123"
Response.CacheC ontrol="no-cache"
%>

Thank you, Mike
Microsoft, ASP.NET

Microsoft highly recommends to all of our customers that they visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computer’s security.

This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
From: Brian Burgess <bb********@hot mail.com>
Subject: Re: Writing cookies
Date: Thu, 11 Sep 2003 08:19:46 +0800
Message-ID: <sn************ *************** *****@4ax.com>
References: <8b************ *************** *****@4ax.com> <uY************ **@TK2MSFTNGP12 .phx.gbl>
<l1************ *************** *****@4ax.com>
<Ra************ **@cpmsftngxa06 .phx.gbl> X-Newsreader: Forte Free Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Newsgroups: microsoft.publi c.inetserver.as p.general
NNTP-Posting-Host: vp161007.kln.ua c1.hknet.com 203.169.161.7
Lines: 1
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.inetserver.as p.general:25231 3
X-Tomcat-NG: microsoft.publi c.inetserver.as p.general

This ASP is in a file that gets Server.Execute' d in a loop. If the
Server.Execute in the calling ASP is within an HTML tag, will that
have an effect?

On Wed, 10 Sep 2003 20:52:16 GMT, mi****@online.m icrosoft.com ("Mike
Moore [MSFT]") wrote:
Hi Brian,

The code that sets the cookies is in an IF statement. Perhaps that sectionof the IF statement is not being executed. Please move your Response.write"Finished" statement to the ELSE section of the IF statement to verify thatthe ELSE section is being executed.

Also, as an additional test, you have a segment of code as follows:
If Not(Request.Coo kies("AcctNbr") ="") Then
nAcctNbr = CInt(Request.Co okies("AcctNbr" ))
End If

Change this to:
If Not(Request.Coo kies("AcctNbr") ="") Then
nAcctNbr = CInt(Request.Co okies("AcctNbr" ))
Response.write Request.Cookies ("AcctNbr")
End If

Thank you, Mike
Microsoft, ASP.NET

Microsoft Security Announcement: Have you installed the patch for MicrosoftSecurity Bulletin MS03-039? If not, Microsoft strongly advises you to
review the information at the following link regarding Microsoft SecurityBulletin MS03-039
http://www.microsoft.com/technet/sec...n/ms03-039.asp and/or tovisit Windows Update at http://windowsupdate.microsoft.com to install thepatch. Running the Windows Update scan will help to insure you are currentwith all security patches, not just MS03-039.

Microsoft also highly recommends to all customers that you visit the
http://www.microsoft.com/protect site and perform the three straightforwardsteps listed to improve your computer’s security.

This posting is provided "AS IS", with no warranties, and confers no rights.

--------------------
From: Brian Burgess <bb********@hot mail.com>
Subject: Re: Writing cookies
Date: Wed, 10 Sep 2003 16:12:11 +0800
Message-ID: <l1************ *************** *****@4ax.com>
References: <8b************ *************** *****@4ax.com>

<uY*********** ***@TK2MSFTNGP1 2.phx.gbl>
X-Newsreader: Forte Free Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: microsoft.publi c.inetserver.as p.general
NNTP-Posting-Host: vp161007.kln.ua c1.hknet.com 203.169.161.7
Lines: 1
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP12.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.inetserver.as p.general:25217 4 X-Tomcat-NG: microsoft.publi c.inetserver.as p.general

Your refering to the USE_XML condition?

Yes this gets executed correctly .. I get the 'alert("Finishe d.")'
message in the <script> below the code for setting the cookies.
On Wed, 10 Sep 2003 01:02:25 -0700, Atrax <at***@dontspam atrax.co.uk>
wrote:

>Is the code actually running? I notice it's in a conditional block
>
>______________ _______________ ___________
>Atrax. MVP, IIS
>http://rtfm.atrax.co.uk/
>
>newsflash : Atrax.Richedit 1.0 now released.
>http://rtfm.atrax.co.uk/infinitemonk...trax.RichEdit/
>
>*** Sent via Developersdex http://www.developersdex.com ***
>Don't just participate in USENET...get rewarded for it!



Jul 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3926
by: Google Mike | last post by:
Tell me if this can be done, and if I have a misconception here. I am writing an app that will be served up in an app farm, and therefore I need to move the session information to the client, not using server-side session features. The way I have typically done this in the ASP world was with cookies. Another way to handle this is with a...
1
1550
by: Dave Cooke | last post by:
Hi, I have developed a website that uses Sessions to manage user state. It has come to my attention that the users that will be using this site do not want to enable cookies on their machines. The IT department is refusing to do it and the individual users do not know how. We are looking at either emailing howto's out to all the users...
20
3538
by: Brian Burgess | last post by:
Hi all, Anyone know if this is possible? If so, on which page would the cookie be? .. On the page calling a function defined in the include file? thanks in advance.. -BB
4
2546
by: Robin Briggs | last post by:
Hi. I have an ASP (3.0, not .NET) app that writes cookies with hyphens and spaces in the names and values. If I had the control over the apps that will be looking for these cookies, I would eliminate the special characters, but as it is, I do not have that luxury. When I write the cookies, they seem okay in IE, but in Firefox, they are...
2
2994
by: Syed Ghayas | last post by:
Hi, I've been having problem writing a cookie. Everything goes ok but when I supply the .Path property to "/" It just write the cookie when there is no cookie present, but when I try to update the cookie (or overwrite the cookie) it doesnt change it. My requirement to supply the path to "/" because ASP.NET reads it. If I write the cookie...
2
1609
by: marshalli | last post by:
Hi: I have a problem with writing cookie from Jacascript. My problem is that I have two server, one is A, and the other is B. (1) I call a aaa.html from A. In aaa.html : ... <iframe id="frame1" src='http://B/bbb.html'></iframe> ... (2) In bbb.html :
0
1001
by: Phoenix | last post by:
Hi, I figured this one out before and have forgotten the answer. I have an ..aspx page that has user settable options. When you click an option in the listbox for example, it should save that option as a cookie as long as your browser is open..The minute you leave the page and come back (same site), it forgets. I am writing the cookie in...
1
3607
by: SamG | last post by:
Hello, Does anyone know how I can Write a Cookie and then later retrieve it...? Also, Is it possible to write attributes and corresponding values to the cookie file.Needless to say would require this in .Net (VB.Net or C#)... A sample code or an article on how to accomplish this would be very much appreciated... Thanks,
2
1291
by: dotnettester | last post by:
Hi, I am trying to test if the client browser would support cookies and they way I am doing it by adding the cookie on the first visit and checking the cookie on a form post. The problem is if the browser has disabled all the cookies I can't get even get to the page. and the browser seems to be just tring to load an un-ending page.
0
7915
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7843
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7967
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3872
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2347
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.