Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 1st, 2004, 03:42 AM
Authorized User
 
Join Date: Jun 2004
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default generating two different GUID

I have no clue why my application is generating two different shopping cartIDs. I have run the application in debug mode and run a SQL server trace as well. And this is what I discovered: When I add an item to the shopping cart it does get added to the shopping cart table; however when the shopping cart page loads, it shows an empty shopping cart because I discovered that the sproc used to populate the shopping cart list when the shopping cart page loads shows a different cartID in its parameter list than the one showing in the sproc used to add item to the shopping cart.

It was all working fine until I did something to which I see no connection -- I just installed a software firewall on the server. Any ideas or suggestion to troubleshoot will be greatly appreciated. Thanks.

 
Old August 1st, 2004, 04:04 AM
Authorized User
 
Join Date: Jun 2004
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

YES -- it is related to what i thought had no connection with it : the shopping cart guids work perfectly when I take the firewall down. It stops working when I restore the firewall -- I thought it might have to do something with the session state being stored in proc over tcpip on port 42424 -- so I allowed incoming and outgoing traffic over port 42424 in the firewall but it still does not work. In any case, it looks like this is certainly related to the firewall.

 
Old August 1st, 2004, 04:54 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Does the firewall also block cookies? In most shopping cart solutions, the shopping cart at the server is hooked up to the client by setting a cookie with the cart ID or client ID.
However, if the firewall blocks cookies, it will look like no shopping cart has been created or assigned to the current user yet, so a new one is created.

Check out your cookies to see if that is causing the problem.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Oceans by Pearl Jam (Track 7 from the album: Ten) What's This?
 
Old August 1st, 2004, 12:47 PM
Authorized User
 
Join Date: Jun 2004
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imaar:

you are right -- it is cookies that is creating the problem. On a different note, the trouble is I could not find a software firewall for a standalone server running windows 2003. I have heard people installing ZoneLabs zonealarm pro even though it is only a desktop solution, so I went ahead and installed it. Although it seems to be working okay in general -- it does not seem to have been a good idea.

Do you have any suggestion for a software firewall for a standalone windows 2003 server? I do have a hardware firewall, but I would also like to use a software firewall on the server it self. May be this is different topic.

 
Old August 1st, 2004, 01:10 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

This is not a really my cup of tea, so there may be better alternatives that I don't know of.

Anyway, you can take a look at the Symantec products for the enterprise: http://enterprisesecurity.symantec.c...roductlink.cfm

Maybe Norton Internet Security works on a server as well: http://www.symantec.com/index.htm

You can also look into Microsoft Internet Security and Acceleration (ISA) server. But I believe there are issues with the 2000 version running on Windows Server 2003, so you may have to wait until 2004 comes out.

Cheers,

Imar

---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old August 1st, 2004, 01:25 PM
Authorized User
 
Join Date: Jun 2004
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Ask IIS for a GUID? Raconteur ASP.NET 2.0 Professional 2 April 25th, 2007 03:25 PM
GUID cdhansen BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 1 October 21st, 2006 04:56 AM
guid generator in xslt? jkmyoung XSLT 1 November 13th, 2004 06:34 AM
Creating a GUID xgbnow Visual C++ 1 May 6th, 2004 11:10 AM
Dynamic GUID? Klavs Pedersen Visual C++ 1 October 15th, 2003 12:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.