Im using a forms authentication for my web app. My app contains several popup windows which were triggered by a client script (e.g Windows.Open("myurl.aspx"); ). What happens to the popup windows is that it shows the login page first before showing/redirecting to its "real" contents. As if the page is not authenticated when in fact the user already logged in from the login page (the first page of the app)... What seems to be happening here? what's the cause? and what should I do to validate or authenticate these popup windows? Thanks.
fume
Posts
-
Authentication on Popup windows -
SQLCE Exception during .AddSubscriptionduring the call to SqlCeReplication's Addsubscription, an error occurs that says: An unhandled exception of type 'System.Data.SqlServerCe.SqlCeException' occurred in System.Data.SqlServerCe.dll Additional information: SqlCeException here's my code snippet: .InternetUrl = "http://" & txtDBServer.Text & "/" & txtDBName.Text & "/sscesa10.DLL" .InternetLogin = "" .InternetPassword = "" .PublisherNetwork = NetworkType.DefaultNetwork .Publisher = txtDBServer.Text .PublisherDatabase = txtDBName.Text .PublisherLogin = txtUsername.Text .PublisherPassword = txtPassword.Text .Publication = txtDBName.Text .PublisherSecurityMode = SecurityType.DBAuthentication .SubscriberConnectionString = "data source=C:\" & txtDBName.Text & ".sdf" .Subscriber = txtDBName.Text .AddSubscription(AddOption.CreateDatabase) .Synchronize()
-
ASP and COMi guess that's clear enough, thanks.. by the way, this COM that im working on is a TLB file written, i think in Java if not in VB6. Im not sure cause I don't have the info. but then how can i re-write or wrap this again in VB.Net? Im not experienced yet in "wrappers".
-
ASP and COMIm developing a web application using ASP.net, my client have this COM, actually a TLB file. How can i use that COM in my application? I have 2 options, 1) is to add it as reference and 2) as a Web Service using SOAP... Which is better in these 2 options? or if there's any other option please introduce it to me.... tnx
-
Accessing Java Script from Code behindhow can i use/access my java script function in HTML from ASP's code behind?
-
SQL Server Setup... Is SQL Server ideal for client-server application using a peer-to-peer connection? What's the difference if there's a hub that would connect 2 computers rather than having a peer-to-peer connection?
-
all about exceptionsoh, ive found out the cause in the event of the parent form OnMDIChildActivate. here's the code: 'Reset tool bar of parent using the stringFortoolbar of child 'This event is still being called when the form is being closed using the control menu If Me.ActiveMdiChild Is Nothing Then Exit Sub Dim objName As String objName = MyBase.ActiveMdiChild.GetType.Name() If objName = "ReceivingOrders" Then Me.ResetToolbar(RRChild.StringForToolbar) ElseIf objName = "MaterialIssuance" Then Me.ResetToolbar(MISChild.StringForToolbar) ElseIf objName = "TransferToAccounting" Then Me.ResetToolbar(TransferAcctChild.StringForToolbar) End If ... if i remove this, no error will occur.. pls. give me an alternative strategy for this. refer to the comments... and when shall i use the events OnMDIChildActivate and OnMdiChildActivate? tnx very much.
-
all about exceptionsalryt, this is an MDI application... the parent form calls the child form in the event menuItem_click w/c goes like this : childFrom.show in the load event of the childForm, i have this code : Me.StringForToolbar = "10000000100" , w/c is used by parent form to setup the tool bar. but even though i remove this, same thing happens. ... i never used the Paint event of my forms.
-
all about exceptionsAn unhandled exception of type 'Sytem.OutOfMemoryException' occured in System.Windows.dll Additional information: Error creating window handle. --- what does this mean? how i came up with this when all my code did was "form1.show"
-
About Shaped forms in vb.NETwhat's GraphicsPath? what's regionPath? ... .. here we go again.
-
Garbage Managementhow will i optimize the use of methods Finalize and Dispose? when to use Finalize instead of Dispose or vice versa? when to use both of them? ... i have read my references bout this but im not sure with my 'interpretation' of the lecture. . tnx guys. .. here we go again.
-
MDI Apps problemsIm a newbie when it comes to .Net technologies. Right now I am developing an MDI application using VB.Net. So this is my first .NEt project. first question: ... why is that when the child form is being closed using the control menu (control box), the next time i click the menu item that should make the child form show up again, it won't show anymore?.... here's the code behind the menu item: Private Sub mnuRR_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuRR.Click If RRChild Is Nothing Then RRChild = New frmReceivingOrders(Me) End If RRChild.Show() End Sub * RRChild is the child form * mnuRR is the menu item of the parent form ... tnx:) .. here we go again.