Guys?
--- In [email protected], "Dan Powderhill" <[EMAIL PROTECTED]> wrote: > The Session_onEnd event isn't the most reliable thing in the world. > You're better off putting the code to do your email in the page that > gets called with the success / failure code from the other site. > > As for closing the window which opens the popup, if this is a normal > browser window, i.e. not one which you've opened using javascript, then > you can't avoid the confirmation dialog as it's a security feature built > into the browser to stop sites closing windows which they haven't > opened. > > Do you particularly need the window which pops up to be a popup? If not, > you could just do a response.redirect to it in the same window, avoiding > the closing window problem all together. > > Dan > > ________________________________ > > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of kejeckam > Sent: 01 June 2005 13:31 > To: [email protected] > Subject: [AspClassicAnyQuestionIsOk] Re: session issue > > > Two things. > Firstly, the app needs to automatically close calling window when > the popup loads without confirmation dialog. > > secondly, trying to get the proper code snippet to insert in the > session_onstart and end subroutines to handle the senerio properly. > I've not handled it yet as I was still reading up sessions. kinda > new to this but u've made it a lot understandable. hope am not > bugging but need the help badly now. > kene > > > > > --- In [email protected], "Dan Powderhill" > <[EMAIL PROTECTED]> wrote: > > Hi Ken... > > > > What is it that you're having a problem with concerning the session > > state? Are the session variables not present when the user returns > from > > the other site? > > > > Dan > > > > ________________________________ > > > > From: [email protected] > > [mailto:[EMAIL PROTECTED] On Behalf Of > kejeckam > > Sent: 01 June 2005 12:15 > > To: [email protected] > > Subject: [AspClassicAnyQuestionIsOk] Re: session issue > > > > > > Hi Dan, > > Any solution or sugestions to ma last post? or anybody can help? > > Ken > > > > > > > > > > --- In [email protected], "kejeckam" > > <[EMAIL PROTECTED]> wrote: > > > Thanx again, > > > Its an online payment site and the response is immediate and > > they > > > just return 2 parameters, one the success or failure code, then > > the > > > second is the description of the code. I pick them with > > > querystrings. The info I need is how to do the session state > > > management. > > > > > > Also based on your last explanation to me on the popup, it is > cool > > > now just that while loading the popup it also loads a new window > > > named the asp page that processes the popup even though nothing > is > > > displayed on it, I need to automatically close that page. As the > > > page loads it comes with an alert message asking if the user > wants > > > to close it or not automatically and I don't know how that > happens > > > and need to take all that of so just my popup page loads. > > > > > > > > > > > > > > > > > > --- In [email protected], "Dan > Powderhill" > > > <[EMAIL PROTECTED]> wrote: > > > > Hi Ken, > > > > > > > > It depends on how you're sending the data to the other site > and > > > whether > > > > the response is immediate or not. If it's not immediate, then > the > > > > session will expire and you'll lose the data in memory, so you > > > need to > > > > persist it in a database, then look it up when you get the > > > response and > > > > send the email. If it's an immediate response the session data > > > should > > > > still be available. The database is probably the most reliable > > > method. > > > > I'm assuming this is an online payment system... what I've > done > > > with > > > > these before is added the transaction to a database table > before > > > the > > > > data is sent to the payment processing website, and send the > ID > > of > > > the > > > > transaction record along with the data. The payment processing > > > website > > > > then passes that ID back along with whether the transaction > > > succeeded or > > > > not. Then you look up the transaction in your database and > deal > > > with it > > > > accordingly. Obviously that sort of thing depends on what sort > of > > > > service your payment provider offers. > > > > > > > > Dan > > > > > > > > ________________________________ > > > > > > > > From: [email protected] > > > > [mailto:[EMAIL PROTECTED] On Behalf > Of > > > kejeckam > > > > Sent: 01 June 2005 08:00 > > > > To: [email protected] > > > > Subject: [AspClassicAnyQuestionIsOk] session issue > > > > > > > > > > > > I have just finished my app. This app collects data from > > customers > > > and > > > > needs to have a copy of the data eg. the customer number and > > > amount > > > > paid-in to be held in memory, then it send s same data to > > another > > > > website for processing. After processing by the other website, > > the > > > > success or failure of the transaction is been redirected to a > > page > > > on > > > > my site. I need to know how to make sure the page understands > > the > > > > session been returned so I can send an email to the office > > workers > > > > notifying them with those data stored in memory. Please can > > anyone > > > help > > > > with detailed info > > > > Ken > > > > > > > > > > > > > > > > > > > > ________________________________ > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > * To visit your group on the web, go to: > > > > http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ > > > > > > > > * To unsubscribe from this group, send an email to: > > > > [EMAIL PROTECTED] > > > > <mailto:AspClassicAnyQuestionIsOk- [EMAIL PROTECTED] > > > subject=Un > > > > subscribe> > > > > > > > > * Your use of Yahoo! Groups is subject to the Yahoo! > Terms of > > > > Service <http://docs.yahoo.com/info/terms/> . > > > > > > > > > > > > > > > > > > > > [Non-text portions of this message have been removed] > > > > > > > > > > ________________________________ > > > > Yahoo! Groups Links > > > > > > * To visit your group on the web, go to: > > http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ > > > > * To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED] > subject=Un > > subscribe> > > > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > > Service <http://docs.yahoo.com/info/terms/> . > > > > > > > > > > [Non-text portions of this message have been removed] > > > > > > ________________________________ > > Yahoo! Groups Links > > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED] subject=Un > subscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/> . > > > > > [Non-text portions of this message have been removed] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
