1
Answer

web pages communicate with each other

Photo of Sie Ste

Sie Ste

12y
1k
1
In a C# 2010 web form application that I am working on, I am hoping there is a better way for page 1 and page 2 to communicate with each other besides using just session variables. Basically on page 1 there are 'clear and 'next' buttons. The clear button clears the page and the 'next' button updates the database and points the user to page 2.
   On page 2, I have the following buttons: back, delete, and submit.
Basically the user enters most of their information on page 1. They hit the 'next' button to continue entering information. If the user wants to change some of the information on page 1 when they are on page 2, the user hits the 'back' button.
  Thus my problem is on page 1 for the 'next' button. This button needs to know if the user has hit the 'back' button from page 2.  If the user has returned from page 2 to page 1, the user will only update a row in the database. If this is the first time for the user on the database, then, then an insert needs to occur in the database.
  The only way I can think of for the two pages to communicte with each other is to use session variables.
  If you have any other suggestions, can you tell me what they are?

Answers (1)

0
Photo of Smart    Lucky
NA 538 474.1k 13y
Yes dear because i am beginner
0
Photo of Vulpes
NA 98.3k 1.5m 13y
Judging by his other threads today, the OP is just practicing doing various things with assemblies :)
0
Photo of Jiteendra Sampathirao
NA 6.9k 1.5m 13y

why are you trying to globalize that .dll. may i know the reason?
0
Photo of Smart    Lucky
NA 538 474.1k 13y
hi
Dear


 Change the directory D to C: and run that command. And then check the assembly folder.... Otherwise check the .Dll file in D drive....

dear but

Library is in d: drive which i have created and how i make it globalize from c Drive....?
0
Photo of Jiteendra Sampathirao
NA 6.9k 1.5m 13y

@Smart lucky: Yes. if it is a simple class library dll why r u trying to deploying it into GAC.

@Suthish: He might using that dll in some other applications like SharePoint etc.
0
Photo of Suthish Nair
NA 31.7k 4.6m 13y
If it is a simple Class Library dll then why you forcefully registering it into GAC?
0
Photo of Jiteendra Sampathirao
NA 6.9k 1.5m 13y
Hi,
Change the directory D to C: and run that command.
And then check the assembly folder....

Otherwise check the .Dll file in D drive....
0
Photo of Smart    Lucky
NA 538 474.1k 13y
hi
 C:\WINDOWS\assembly
yes i am checking it in this folder but the assembly is added in G A C which is not shown here

d\:>c#sharp\sharedfolder\gacutil /i ClassLibrary.dll

i am adding in this way is it correct way...?
it is showing message , successfully but when i am going it the windolw\assembly folder it not showing 
can any one help me ....?
0
Photo of Jiteendra Sampathirao
NA 6.9k 1.5m 13y

Hi,
Global assembly cache location is C:\WINDOWS\assembly. Here your .dll file stores.

Check it....


0
Photo of Suthish Nair
NA 31.7k 4.6m 13y
but not showing the assembly? where? which assembly you trying to add?