473,761 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQL query gets random image, but browser always loads same one

Hi,

I have the code below as code-behind for a page which displays two images.
My problem is with the second bit of code, commented as " 'Portfolio image
section". Basically, the SQL query gets details of a random image from an
access database. I know this works because when I run the query in access,
it picks a different image each time (or close enough). However, when I view
the .aspx page that this code-behind is for, it always picks the same image.
Can anyone please identify why this might be? I've tried deleting browser
cache etc but still no luck. Apologies for dumping huge lots of code in this
message, but I'm guessing you'll need to see it :)

Thanks very much,
Haydn
Code-behind:
=========
Imports System
Imports System.Web.UI
Imports System.Web.UI.W ebControls
Imports System.Data
Imports System.Data.Ole db
Imports System.Configur ation

Public Class GetFrontPageInf o : Inherits Page

Public objConn As OledbConnection

'Declare labels for holding information re Newest album
Public lblstrNewestArt ist As Label
Public dtmDate As DateTime
Public lblstrNewestDat e As Label
Public lnkNewestAlbum As Hyperlink
Public imgNewestImage AS Image

'Declare labels for holding information re Portfolio image
Public lblstrPortfolio Artist As Label
Public lblstrPortfolio Date As Label
Public imgPortfolioIma ge AS Image

Public Sub Page_Load(Sende r As Object, E As EventArgs)

'Newest album section
'============== ======

'SQL statement
Dim strSQL as String
strSQL= "SELECT tblEvents.strDi rectory, tblEvents.strAr tist,
tblEvents.strVe nue, tblEvents.strTo wn, tblEvents.dtmDa te FROM tblEvents
INNER JOIN sqyMaxDirOnly ON tblEvents.strDi rectory =
sqyMaxDirOnly.s trNewestDir;"

'Connection object
objConn = New
OledbConnection (ConfigurationS ettings.AppSett ings("strConnSt ring"))

'Command object
Dim objNewestComman d As New OledbCommand(st rSQL, objConn)

'Data Reader
Dim objNewestDataRe ader as OledbDataReader

'Open connection and execute command on data reader
objConn.Open()
objNewestDataRe ader = objNewestComman d.ExecuteReader ()

'Set label text to values pulled from database
'Use 'Do While Loop' so that null values are allowed
'(I know there aren't any null values but it gives an error otherwise!)
Do While objNewestDataRe ader.Read()=Tru e
imgNewestImage. ImageUrl = "images/newest/" &
objNewestDataRe ader("strDirect ory") & ".jpg"
lnkNewestAlbum. NavigateUrl = "html/album.aspx?d=" &
objNewestDataRe ader("strDirect ory")
lblstrNewestArt ist.text = objNewestDataRe ader("strArtist ")
'Need to use DateTime object to obtain correct formatting, ie
month and year only
dtmDate = objNewestDataRe ader("dtmDate")
lblstrPortfolio Date.text = dtmDate.ToStrin g("MMMM yyyy")
Loop

'Close data reader
objNewestDataRe ader.Close()
'Portfolio image section
'============== =========

'SQL statement
strSQL= "SELECT tblEvents.strDi rectory, tblEvents.strAr tist,
tblEvents.strVe nue, tblEvents.strTo wn, tblEvents.dtmDa te,
tblEvents.strAr tistWebsite, sqyRandPortImag e.strFilename FROM tblEvents
INNER JOIN sqyRandPortImag e ON tblEvents.strDi rectory =
sqyRandPortImag e.strDirectory; "

'Command object
Dim objPortCommand As New OledbCommand(st rSQL, objConn)

'Data Reader
Dim objPortDataRead er as OledbDataReader

'Execute command on data reader - connection is already open
objPortDataRead er = objPortCommand. ExecuteReader()

'Set label text to values pulled from database
'Use 'Do While Loop' so that null values are allowed
'(I know there aren't any null values but it gives an error otherwise!)
Do While objPortDataRead er.Read()=True
lblstrPortfolio Artist.text = objPortDataRead er("strArtist" )
'Need to use DateTime object to obtain correct formatting,
ie month and year only
dtmDate = objPortDataRead er("dtmDate")
lblstrNewestDat e.text = dtmDate.ToStrin g("MMMM yyyy")
'Set image path
imgPortfolioIma ge.ImageUrl = "images/albums/" &
objPortDataRead er("strDirector y") & "/" & objPortDataRead er("strFilename ") &
".jpg"
Loop

'Close data reader
objPortDataRead er.Close()

'Close connection
objConn.Close()
End Sub
End Class
Nov 18 '05 #1
5 2191
Hi

Why are you writing the DB image to disk? You should have an ASPX page
which returns the image data and sets the content type to image/jpg
--
Pete
====
Audio compression components, DIB graphics controls, FastStrings
http://www.droopyeyes.com

Read or write articles on just about anything
http://www.HowToDoThings.com
Nov 18 '05 #2
Forgive me, I couldn't be bothered to read all of your code, however
something that I use that may help. I place a random number in a querystring
in the image URL like this:

Dim randomNumber As New Random
....
imgNewestImage. ImageUrl = "images/newest/" &
objNewestDataRe ader("strDirect ory") & ".jpg?rnd=" & randomNumber.Ne xt(10000)

Try that for each image URL.

David
"Haydnw" <ha****@removey ahooremove.com> wrote in message
news:OZ******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

I have the code below as code-behind for a page which displays two images.
My problem is with the second bit of code, commented as " 'Portfolio image
section". Basically, the SQL query gets details of a random image from an
access database. I know this works because when I run the query in access,
it picks a different image each time (or close enough). However, when I view the .aspx page that this code-behind is for, it always picks the same image. Can anyone please identify why this might be? I've tried deleting browser
cache etc but still no luck. Apologies for dumping huge lots of code in this message, but I'm guessing you'll need to see it :)

Thanks very much,
Haydn
Code-behind:
=========
Imports System
Imports System.Web.UI
Imports System.Web.UI.W ebControls
Imports System.Data
Imports System.Data.Ole db
Imports System.Configur ation

Public Class GetFrontPageInf o : Inherits Page

Public objConn As OledbConnection

'Declare labels for holding information re Newest album
Public lblstrNewestArt ist As Label
Public dtmDate As DateTime
Public lblstrNewestDat e As Label
Public lnkNewestAlbum As Hyperlink
Public imgNewestImage AS Image

'Declare labels for holding information re Portfolio image
Public lblstrPortfolio Artist As Label
Public lblstrPortfolio Date As Label
Public imgPortfolioIma ge AS Image

Public Sub Page_Load(Sende r As Object, E As EventArgs)

'Newest album section
'============== ======

'SQL statement
Dim strSQL as String
strSQL= "SELECT tblEvents.strDi rectory, tblEvents.strAr tist,
tblEvents.strVe nue, tblEvents.strTo wn, tblEvents.dtmDa te FROM tblEvents
INNER JOIN sqyMaxDirOnly ON tblEvents.strDi rectory =
sqyMaxDirOnly.s trNewestDir;"

'Connection object
objConn = New
OledbConnection (ConfigurationS ettings.AppSett ings("strConnSt ring"))

'Command object
Dim objNewestComman d As New OledbCommand(st rSQL, objConn)

'Data Reader
Dim objNewestDataRe ader as OledbDataReader

'Open connection and execute command on data reader
objConn.Open()
objNewestDataRe ader = objNewestComman d.ExecuteReader ()

'Set label text to values pulled from database
'Use 'Do While Loop' so that null values are allowed
'(I know there aren't any null values but it gives an error otherwise!) Do While objNewestDataRe ader.Read()=Tru e
imgNewestImage. ImageUrl = "images/newest/" &
objNewestDataRe ader("strDirect ory") & ".jpg"
lnkNewestAlbum. NavigateUrl = "html/album.aspx?d=" &
objNewestDataRe ader("strDirect ory")
lblstrNewestArt ist.text = objNewestDataRe ader("strArtist ")
'Need to use DateTime object to obtain correct formatting, ie
month and year only
dtmDate = objNewestDataRe ader("dtmDate")
lblstrPortfolio Date.text = dtmDate.ToStrin g("MMMM yyyy")
Loop

'Close data reader
objNewestDataRe ader.Close()
'Portfolio image section
'============== =========

'SQL statement
strSQL= "SELECT tblEvents.strDi rectory, tblEvents.strAr tist,
tblEvents.strVe nue, tblEvents.strTo wn, tblEvents.dtmDa te,
tblEvents.strAr tistWebsite, sqyRandPortImag e.strFilename FROM tblEvents
INNER JOIN sqyRandPortImag e ON tblEvents.strDi rectory =
sqyRandPortImag e.strDirectory; "

'Command object
Dim objPortCommand As New OledbCommand(st rSQL, objConn)

'Data Reader
Dim objPortDataRead er as OledbDataReader

'Execute command on data reader - connection is already open
objPortDataRead er = objPortCommand. ExecuteReader()

'Set label text to values pulled from database
'Use 'Do While Loop' so that null values are allowed
'(I know there aren't any null values but it gives an error otherwise!) Do While objPortDataRead er.Read()=True
lblstrPortfolio Artist.text = objPortDataRead er("strArtist" ) 'Need to use DateTime object to obtain correct formatting,
ie month and year only
dtmDate = objPortDataRead er("dtmDate")
lblstrNewestDat e.text = dtmDate.ToStrin g("MMMM yyyy")
'Set image path
imgPortfolioIma ge.ImageUrl = "images/albums/" &
objPortDataRead er("strDirector y") & "/" & objPortDataRead er("strFilename ") & ".jpg"
Loop

'Close data reader
objPortDataRead er.Close()

'Close connection
objConn.Close()
End Sub
End Class

Nov 18 '05 #3
Hi Pete,

Forgive me, but I don't follow. I don't write the image to disk (do I?) -
this page is for viewing images. I merely get the directory and filename of
an image from the database, concatenate them and use that to set the ImageUrl
property of an <asp:image>. If you could expand on your previous post I would
be very grateful.

Thanks,
Haydn
"Peter Morris" wrote:
Hi

Why are you writing the DB image to disk? You should have an ASPX page
which returns the image data and sets the content type to image/jpg
--
Pete
====
Audio compression components, DIB graphics controls, FastStrings
http://www.droopyeyes.com

Read or write articles on just about anything
http://www.HowToDoThings.com

Nov 18 '05 #4
Hi all,

Figured out what makes this go wrong - it's the objConn.Close() on the very
last line. However, if closing the connection here breaks my page, where is
the best place to close it? Or it is just closed automatically after the
page loads? I don't want loads of open connections to the database, do I?!

Cheers,
H
"Haydnw" <ha****@removey ahooremove.com> wrote in message
news:OZ******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

I have the code below as code-behind for a page which displays two images.
My problem is with the second bit of code, commented as " 'Portfolio image
section". Basically, the SQL query gets details of a random image from an
access database. I know this works because when I run the query in access,
it picks a different image each time (or close enough). However, when I view the .aspx page that this code-behind is for, it always picks the same image. Can anyone please identify why this might be? I've tried deleting browser
cache etc but still no luck. Apologies for dumping huge lots of code in this message, but I'm guessing you'll need to see it :)

Thanks very much,
Haydn
Code-behind:
=========
Imports System
Imports System.Web.UI
Imports System.Web.UI.W ebControls
Imports System.Data
Imports System.Data.Ole db
Imports System.Configur ation

Public Class GetFrontPageInf o : Inherits Page

Public objConn As OledbConnection

'Declare labels for holding information re Newest album
Public lblstrNewestArt ist As Label
Public dtmDate As DateTime
Public lblstrNewestDat e As Label
Public lnkNewestAlbum As Hyperlink
Public imgNewestImage AS Image

'Declare labels for holding information re Portfolio image
Public lblstrPortfolio Artist As Label
Public lblstrPortfolio Date As Label
Public imgPortfolioIma ge AS Image

Public Sub Page_Load(Sende r As Object, E As EventArgs)

'Newest album section
'============== ======

'SQL statement
Dim strSQL as String
strSQL= "SELECT tblEvents.strDi rectory, tblEvents.strAr tist,
tblEvents.strVe nue, tblEvents.strTo wn, tblEvents.dtmDa te FROM tblEvents
INNER JOIN sqyMaxDirOnly ON tblEvents.strDi rectory =
sqyMaxDirOnly.s trNewestDir;"

'Connection object
objConn = New
OledbConnection (ConfigurationS ettings.AppSett ings("strConnSt ring"))

'Command object
Dim objNewestComman d As New OledbCommand(st rSQL, objConn)

'Data Reader
Dim objNewestDataRe ader as OledbDataReader

'Open connection and execute command on data reader
objConn.Open()
objNewestDataRe ader = objNewestComman d.ExecuteReader ()

'Set label text to values pulled from database
'Use 'Do While Loop' so that null values are allowed
'(I know there aren't any null values but it gives an error otherwise!) Do While objNewestDataRe ader.Read()=Tru e
imgNewestImage. ImageUrl = "images/newest/" &
objNewestDataRe ader("strDirect ory") & ".jpg"
lnkNewestAlbum. NavigateUrl = "html/album.aspx?d=" &
objNewestDataRe ader("strDirect ory")
lblstrNewestArt ist.text = objNewestDataRe ader("strArtist ")
'Need to use DateTime object to obtain correct formatting, ie
month and year only
dtmDate = objNewestDataRe ader("dtmDate")
lblstrPortfolio Date.text = dtmDate.ToStrin g("MMMM yyyy")
Loop

'Close data reader
objNewestDataRe ader.Close()
'Portfolio image section
'============== =========

'SQL statement
strSQL= "SELECT tblEvents.strDi rectory, tblEvents.strAr tist,
tblEvents.strVe nue, tblEvents.strTo wn, tblEvents.dtmDa te,
tblEvents.strAr tistWebsite, sqyRandPortImag e.strFilename FROM tblEvents
INNER JOIN sqyRandPortImag e ON tblEvents.strDi rectory =
sqyRandPortImag e.strDirectory; "

'Command object
Dim objPortCommand As New OledbCommand(st rSQL, objConn)

'Data Reader
Dim objPortDataRead er as OledbDataReader

'Execute command on data reader - connection is already open
objPortDataRead er = objPortCommand. ExecuteReader()

'Set label text to values pulled from database
'Use 'Do While Loop' so that null values are allowed
'(I know there aren't any null values but it gives an error otherwise!) Do While objPortDataRead er.Read()=True
lblstrPortfolio Artist.text = objPortDataRead er("strArtist" ) 'Need to use DateTime object to obtain correct formatting,
ie month and year only
dtmDate = objPortDataRead er("dtmDate")
lblstrNewestDat e.text = dtmDate.ToStrin g("MMMM yyyy")
'Set image path
imgPortfolioIma ge.ImageUrl = "images/albums/" &
objPortDataRead er("strDirector y") & "/" & objPortDataRead er("strFilename ") & ".jpg"
Loop

'Close data reader
objPortDataRead er.Close()

'Close connection
objConn.Close()
End Sub
End Class

Nov 18 '05 #5
Do you still need help?

"Haydnw" wrote:
Hi,

I have the code below as code-behind for a page which displays two images.
My problem is with the second bit of code, commented as " 'Portfolio image
section". Basically, the SQL query gets details of a random image from an
access database. I know this works because when I run the query in access,
it picks a different image each time (or close enough). However, when I view
the .aspx page that this code-behind is for, it always picks the same image.
Can anyone please identify why this might be? I've tried deleting browser
cache etc but still no luck. Apologies for dumping huge lots of code in this
message, but I'm guessing you'll need to see it :)

Thanks very much,
Haydn
Code-behind:
=========
Imports System
Imports System.Web.UI
Imports System.Web.UI.W ebControls
Imports System.Data
Imports System.Data.Ole db
Imports System.Configur ation

Public Class GetFrontPageInf o : Inherits Page

Public objConn As OledbConnection

'Declare labels for holding information re Newest album
Public lblstrNewestArt ist As Label
Public dtmDate As DateTime
Public lblstrNewestDat e As Label
Public lnkNewestAlbum As Hyperlink
Public imgNewestImage AS Image

'Declare labels for holding information re Portfolio image
Public lblstrPortfolio Artist As Label
Public lblstrPortfolio Date As Label
Public imgPortfolioIma ge AS Image

Public Sub Page_Load(Sende r As Object, E As EventArgs)

'Newest album section
'============== ======

'SQL statement
Dim strSQL as String
strSQL= "SELECT tblEvents.strDi rectory, tblEvents.strAr tist,
tblEvents.strVe nue, tblEvents.strTo wn, tblEvents.dtmDa te FROM tblEvents
INNER JOIN sqyMaxDirOnly ON tblEvents.strDi rectory =
sqyMaxDirOnly.s trNewestDir;"

'Connection object
objConn = New
OledbConnection (ConfigurationS ettings.AppSett ings("strConnSt ring"))

'Command object
Dim objNewestComman d As New OledbCommand(st rSQL, objConn)

'Data Reader
Dim objNewestDataRe ader as OledbDataReader

'Open connection and execute command on data reader
objConn.Open()
objNewestDataRe ader = objNewestComman d.ExecuteReader ()

'Set label text to values pulled from database
'Use 'Do While Loop' so that null values are allowed
'(I know there aren't any null values but it gives an error otherwise!)
Do While objNewestDataRe ader.Read()=Tru e
imgNewestImage. ImageUrl = "images/newest/" &
objNewestDataRe ader("strDirect ory") & ".jpg"
lnkNewestAlbum. NavigateUrl = "html/album.aspx?d=" &
objNewestDataRe ader("strDirect ory")
lblstrNewestArt ist.text = objNewestDataRe ader("strArtist ")
'Need to use DateTime object to obtain correct formatting, ie
month and year only
dtmDate = objNewestDataRe ader("dtmDate")
lblstrPortfolio Date.text = dtmDate.ToStrin g("MMMM yyyy")
Loop

'Close data reader
objNewestDataRe ader.Close()
'Portfolio image section
'============== =========

'SQL statement
strSQL= "SELECT tblEvents.strDi rectory, tblEvents.strAr tist,
tblEvents.strVe nue, tblEvents.strTo wn, tblEvents.dtmDa te,
tblEvents.strAr tistWebsite, sqyRandPortImag e.strFilename FROM tblEvents
INNER JOIN sqyRandPortImag e ON tblEvents.strDi rectory =
sqyRandPortImag e.strDirectory; "

'Command object
Dim objPortCommand As New OledbCommand(st rSQL, objConn)

'Data Reader
Dim objPortDataRead er as OledbDataReader

'Execute command on data reader - connection is already open
objPortDataRead er = objPortCommand. ExecuteReader()

'Set label text to values pulled from database
'Use 'Do While Loop' so that null values are allowed
'(I know there aren't any null values but it gives an error otherwise!)
Do While objPortDataRead er.Read()=True
lblstrPortfolio Artist.text = objPortDataRead er("strArtist" )
'Need to use DateTime object to obtain correct formatting,
ie month and year only
dtmDate = objPortDataRead er("dtmDate")
lblstrNewestDat e.text = dtmDate.ToStrin g("MMMM yyyy")
'Set image path
imgPortfolioIma ge.ImageUrl = "images/albums/" &
objPortDataRead er("strDirector y") & "/" & objPortDataRead er("strFilename ") &
".jpg"
Loop

'Close data reader
objPortDataRead er.Close()

'Close connection
objConn.Close()
End Sub
End Class

Nov 18 '05 #6

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

Similar topics

5
4241
by: Phil Powell | last post by:
I created a page that will be doing image resizing and manipulation, which seems to work (using GD library). However, upon returning to the page where the image has been changed, I still see the old image, until I refresh my browser and then zappo, there it is! All changed! I have done everything I can think of to force caching including this: // Date in the past header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
6
1931
by: Steven D.Arnold | last post by:
I have a query which does not use column indexes that it should use. I have discovered some interesting behaviors of Postgres which may indicate a bug in the database's query planning. Take a look at the query below. There is a btree index on both m.account_id and a.account_id. Query (1) does not use the index on the messages table, instead opting for a full table scan, thus killing performance. The messages table can contain...
12
5229
by: Jim Michaels | last post by:
I need to generate 2 random numbers in rapid sequence from either PHP or mysql. I have not been able to do either. I get the same number back several times from PHP's mt_rand() and from mysql's RAND(). any ideas? I suppose I could use the current rancom number as the seed for the next random number. but would that really work?
3
2599
by: Andy Baxter | last post by:
I have an image scrolling in a viewport for a panoramic image viewer. The viewport can be resized to several set resolutions so people can adjust the size according to their bandwidth. There are hotspots on the image which have been defined using an image map. This map is generated in javascript using the following code (in the object 'tour.'): makeImageMap: function() { // creates an HTML nodeset which is an imagemap for the current...
4
2756
by: tshad | last post by:
I am trying to set up an Image authorization where you type in the value that is in a picture to log on to our site. I found a program that is supposed to do it, but it doesn't seem to work. It should put a blue and yellow box on the page with "This is a test" as part of the picture. But what I get is a broken Gif. The other problem is that I can't view the source???? The view source is disabled for this page. What causes this?
7
4556
by: Brian | last post by:
Hi there I have been looking for a script that can randomly rotate 8 different images on 1 page. I used to have a script that did this but can't find it now. I have found loads of script that will load a differnet image each time the page loads, or will rotate 1 image at a time, but not one that can do 8 images from a list of images Does anybody know of one?
1
1452
by: Jim in Arizona | last post by:
I created a public application based variable not within any procedure, like so: Partial Class lobbytimes_lobbytimes Inherits System.Web.UI.Page Public BackgroundImage As String Protected Sub Page_Load(ByVal ..)
1
1972
by: bn4 | last post by:
I have been trying to modify a script that i had working in the past but have lost.. ORIGINAL URL: http://www.thescripts.com/forum/thread147097.html STEPS: I want it to do the following: 1-Load a Random Image each time page loads or is refreshed / script starts (with corresponding url link when clicked) 2-Images change by blend/fade into one another, on an adjustable time delay 3-Next image loaded also loads new corresponding url/link
3
1625
by: helraizer1 | last post by:
Hey folks, I have made an image-based shoutbox and now users can view older and newer message on the shoutbox depending on the $_GET - pagination - that works. However, since it's image based and can be linked in forums etc. on the Internet I only want it to save the gif image if $page == 1, so the newest shouts are saved onto the image. Yet the users can still view the other messages on site without it changing the saved gif image. What...
0
9538
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9909
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9788
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7342
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5241
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3889
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
3
2765
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.